Is there a built-in command in the openssl utility which can verify
that a private key and a certificate represent a valid keypair? Or is
there some simple way to determine this using other built-in commands?
--
Mark H. Wood, Lead System Programmer [EMAIL PROTECTED]
Typically when a software
RSA keypair, right? If so, compare that the modulus of both the
certificate and the private key is equal. These two commands do the
trick:
openssl x509 -in cert.pem -modulus -noout
openssl rsa -in rsa.pem -modulus -noout
If on Unix, I imagine you can do this (ahhh... the glorious
On Mon 07-02-19 16:11, Julius Davies wrote:
RSA keypair, right? If so, compare that the modulus of both the
certificate and the private key is equal. These two commands do the
trick:
openssl x509 -in cert.pem -modulus -noout
openssl rsa -in rsa.pem -modulus -noout
If on Unix, I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Julius Davies wrote:
RSA keypair, right? If so, compare that the modulus of both the
certificate and the private key is equal. These two commands do the
trick:
openssl x509 -in cert.pem -modulus -noout
openssl rsa -in rsa.pem -modulus