On Fri, Sep 06, 2002 at 11:09:44AM -0500, Eduardo Muñoz wrote:
> I think you can extract the key from the certificate
> using the following instruction:
> 
> openssl rsa < certificate.pem > certkey.pem
> 
> I hopoe this works
> Eduardo

No, it wont work. 
'openssl x509 -pubkey <certificate.pem' will print the pubkey
which actually is the modulus.

PKCS#10 aka CSR was designed to NOT contain the private part of the key
So, if you don't find the key on your hard disk, there is no chance to recover it from 
the cert.

Regards
Christian


> 
>  --- "Gary W." <[EMAIL PROTECTED]> escribió: > I
> got my certificate from Verisine,
> > but cannot find the key I generated the csr with.
> > At least the Moduli of the files I can find do not
> > match what comes from the openssl x509 command.
> > Can I pull a key out of the certificate or csr?
> > 
> > Gary
> > -- 
> > TV is the enemy
> >           -- John Bradley
> > http://WWW-DB.Stanford.EDU/~gary/
> >
> ______________________________________________________________________
> > OpenSSL Project                                
> > http://www.openssl.org
> > User Support Mailing List                   
> > [EMAIL PROTECTED]
> > Automated List Manager                          
> [EMAIL PROTECTED] 
> 
> =====
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Información de Estados Unidos y América Latina, en Yahoo! Noticias.
> Visítanos en http://noticias.espanol.yahoo.com
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to