Created
July 3, 2019 09:48
-
-
Save rivetmichael/a7bbca38371b4533229f42a75b034232 to your computer and use it in GitHub Desktop.
check that a key and pem / cert are valid
This file contains 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
# run these 2 commands | |
openssl rsa -noout -modulus -in your.key | openssl md5 | |
openssl x509 -noout -modulus -in your.pem | openssl md5 | |
# compare the results, if they match, the key and pem/cert are working together ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment