OpenSSL Verifying Certificate Keys

From UNIX Systems Administration
Revision as of 18:43, 21 February 2013 by Michael Kohler (talk | contribs)
(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 <key_name>.key | openssl md5

Verify certificate signing request file

  1. To verify the md5 checksum of the CSR.
    1. # openssl req -noout -modulus -in <csr_name>.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 <crt_name>.crt | openssl md5

Further Reading

  1. Certificate Key Matcher