Yes, good point. You need the private key also, but if the idea is just to use the certificate as a template to generate a new request for a key that you do own (I think the most common case when you want a new requisiton with the same data), it is possible.
openssl x509 -x509toreq -in *certificate.crt* -out *CSR.csr* -signkey *privateKey.key* On Wed, May 15, 2013 at 7:27 AM, Daniel Black <[email protected]>wrote: > On 15/05/13 18:37, Felipe Gasper wrote: > > If I have an SSL certificate, it is possible to create a CSR with that > > certificate’s subject and public key? > > A certificate request is signed by the private key so no, its not possible. > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [email protected] > Automated List Manager [email protected] > -- -- Cristian Thiago Moecke
