Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Certificate Key Matcher
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
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
You can’t perform that action at this time.