Francois
Francois

Reputation: 2066

With Openssl, how to generate a certificate request from a public key?

With Openssl, how could I create a certificate request, starting only from a public key ? (programmatically or not).

Upvotes: 0

Views: 231

Answers (2)

ryanc
ryanc

Reputation: 1346

It is not possible, using openssl or any other software, to generate a CSR without the private key because a CSR must be signed with the corresponding private key.

Upvotes: 1

nfechner
nfechner

Reputation: 17535

I don't think this is possible with OpenSSL, because the CSR is always signed with the private key. But I found an online tool called PKIWidgets which is able to create a "stand-alone" CSR.

You might also find more information in the CSR FAQ.

Upvotes: 0

Related Questions