OpenSSL Verifying Certificate Keys

From UNIX Systems Administration
Revision as of 17:10, 21 February 2013 by Michael Kohler (talk | contribs) (Michael Kohler moved page Verifying SSL Certificate Keys to OpenSSL Verifying Certificate Keys without leaving a redirect)
Jump to navigation Jump to search

Verify Private Key File

  1. To verify the md5 checksum of the private key.
    1. # openssl rsa -noout -modulus -in <privatekey.key> | openssl md5

Verify certificate signing request file

  1. To verify the md5 checksum of the CSR.
    1. # openssl req -noout -modulus -in <CSR.csr> | openssl md5

Verify the generated signed certificate file

  1. To verify the md5 checksum of the certificate file.
    1. # openssl x509 -noout -modulus -in <certificate.crt> | openssl md5

Further Reading

  1. Certificate Key Matcher