Last active
August 7, 2019 07:58
-
-
Save papanito/1664fa452087e3ae91bafd73a74b2edd to your computer and use it in GitHub Desktop.
Certificate Key Matcher
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
https://www.sslshopper.com/certificate-key-matcher.html | |
CERT=xx.pem | |
CSR=dev-xx.csr | |
KEY=dev-xx.key | |
openssl pkey -in $KEY -pubout -outform pem | sha256sum | |
openssl x509 -in $CERT -pubkey -noout -outform pem | sha256sum | |
openssl req -in $CSR -pubkey -noout -outform pem | sha256sum |
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
https://stackoverflow.com/questions/21916902/trying-to-merge-certificate-and-private-key | |
openssl pkcs12 -export -inkey $KEY -in $CERT -out dev-docu.pfx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment