Created
September 11, 2018 10:31
-
-
Save snobu/f2acf3a3d96cc45f96adbdc18e691f9d to your computer and use it in GitHub Desktop.
Match private key with public cert
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 pkey -in key.pem -pubout -outform pem | openssl md5 | |
| (stdin)= 5bxxxxxxxxxxxxxxxxxxx5f9 | |
| ~ $ openssl x509 -in public-cert.pem -pubkey -noout -outform pem | openssl md5 | |
| (stdin)= 5bxxxxxxxxxxxxxxxxxxx5f9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment