Re: match a certificate to a private key

2003-11-21 Thread Dr. Stephen Henson
On Thu, Nov 20, 2003, Joseph Bruni wrote: > Given an RSA private key, you can regenerate its matching public key > with this: > > % openssl rsa -in privatekey.pem -pubout >key1.pem > > The public key in a certificate can be extracted with this: > > % openssl x509 -in certificate.pem -pubout -n

Re: match a certificate to a private key

2003-11-20 Thread Joseph Bruni
Given an RSA private key, you can regenerate its matching public key with this: % openssl rsa -in privatekey.pem -pubout >key1.pem The public key in a certificate can be extracted with this: % openssl x509 -in certificate.pem -pubout -noout >key2.pem With the two public keys, you should be abl