Openssl: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{lowercase title}} Read a certificate: <pre> openssl x509 -noout -text -in yourcert.cert </pre> The Issuer should be the Certificate Authority. The Subject should represent..." |
No edit summary |
||
Line 14: | Line 14: | ||
openssl rsa -noout -modulus -in privateKey.key | openssl md5 | openssl rsa -noout -modulus -in privateKey.key | openssl md5 | ||
</pre> | </pre> | ||
Additional wisdom here: | |||
http://stackoverflow.com/questions/26191463/ssl-error0b080074x509-certificate-routinesx509-check-private-keykey-values |
Revision as of 16:24, 19 May 2015
Read a certificate:
openssl x509 -noout -text -in yourcert.cert
The Issuer should be the Certificate Authority. The Subject should represent the organization behind the server.
These commands should match for a certificate/private key pair:
openssl x509 -noout -modulus -in certificate.crt | openssl md5 openssl rsa -noout -modulus -in privateKey.key | openssl md5
Additional wisdom here: