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
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