Created
November 14, 2014 05:40
-
-
Save alexclifford/34f71bea9293e54acaa9 to your computer and use it in GitHub Desktop.
Compare checksum of pubic and private keys for matching modulus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl x509 -noout -modulus -in /etc/pki/tls/certs/www.example.com.crt | openssl md5 | |
openssl rsa -noout -modulus -in /etc/pki/tls/private/www.example.com.key | openssl md5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment