Created
January 9, 2020 19:10
-
-
Save sergio/ca34f1d5eb3a1d6d6c3b62f8d2daf423 to your computer and use it in GitHub Desktop.
Validate if key and cer match #openssl #x509
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 privateKey.key -pubout -outform pem | sha256sum | |
| openssl x509 -in certificate.crt -pubkey -noout -outform pem | sha256sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment