Created
November 19, 2019 10:19
-
-
Save olblak/947b0826fee8fa07434d5827a9ea9292 to your computer and use it in GitHub Desktop.
Test if certificate match private key and certificate request
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
openssl pkey -in <your_private_key> -pubout -outform pem | sha256sum ✔ 10061 11:13:59 | |
== | |
openssl x509 -in <your_certificate> -pubkey -noout -outform pem | sha256sum ✔ 10062 11:15:21 | |
== | |
openssl req -in <your_certificate_request> -pubkey -noout -outform pem | sha256sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment