OpenSSL Verifying Certificate Keys: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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 == | ||
# [https://www.sslshopper.com/certificate-key-matcher.html Certificate Key Matcher] | # [https://www.sslshopper.com/certificate-key-matcher.html Certificate Key Matcher] | ||
[[Category:Software]] | |||
[[Category:SSL]] | [[Category:SSL]] |
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