On Thu, Nov 13, 2003, Jia L Wu wrote:

> 
> Thanks, Nils. But which openssl command can I use to generate a public
> key file or extract public key from certificate file?
> 

The 'x509' command will extract the public key from a certificate:

openssl x509 -in cert.pem -pubkey -noout >key.pem

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to