OpenSSL Verifying Certificate Keys: Difference between revisions
Jump to navigation
Jump to search
m (Michael Kohler moved page Verifying SSL Certificate Keys to OpenSSL Verifying Certificate Keys without leaving a redirect) |
No edit summary |
||
Line 1: | Line 1: | ||
== Verify Private Key File == | == Verify Private Key File == | ||
# To verify the md5 checksum of the private key. | # To verify the md5 checksum of the private key. | ||
## <tt>'''# openssl rsa -noout -modulus -in < | ## <tt>'''# openssl rsa -noout -modulus -in <key_name>.key | openssl md5'''</tt> | ||
== Verify certificate signing request file == | == Verify certificate signing request file == | ||
# To verify the md5 checksum of the CSR. | # To verify the md5 checksum of the CSR. | ||
## <tt>'''# openssl req -noout -modulus -in < | ## <tt>'''# openssl req -noout -modulus -in <csr_name>.csr | openssl md5'''</tt> | ||
== Verify the generated signed certificate file == | == Verify the generated signed certificate file == | ||
# To verify the md5 checksum of the certificate file. | # To verify the md5 checksum of the certificate file. | ||
## <tt>'''# openssl x509 -noout -modulus -in < | ## <tt>'''# openssl x509 -noout -modulus -in <crt_name>.crt | openssl md5'''</tt> | ||
== Further Reading == | == Further Reading == |
Latest revision as of 18:43, 21 February 2013
Verify Private Key File
- To verify the md5 checksum of the private key.
- # openssl rsa -noout -modulus -in <key_name>.key | openssl md5
Verify certificate signing request file
- To verify the md5 checksum of the CSR.
- # openssl req -noout -modulus -in <csr_name>.csr | openssl md5
Verify the generated signed certificate file
- To verify the md5 checksum of the certificate file.
- # openssl x509 -noout -modulus -in <crt_name>.crt | openssl md5