OpenSSL Verifying Certificate Keys

From UNIX Systems Administration
Revision as of 19:06, 8 February 2013 by Michael Kohler (talk | contribs) (Created page with "== Verify Private Key File == # To verify the md5 checksum of the private key. ## <tt>'''# openssl rsa -noout -modulus -in <privatekey.key> | openssl md5'''</tt> == Verify ce...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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