-
-
Save akramarev/adcf4b7f22cd538cdf22eae8115b04ec to your computer and use it in GitHub Desktop.
[pk12 into pem]
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/15144046/converting-pkcs12-certificate-into-pem-using-openssl | |
# After that you have: | |
# - certificate in newfile.crt.pem | |
# - private key in newfile.key.pem | |
openssl pkcs12 -in path.p12 -out newfile.crt.pem -clcerts -nokeys | |
openssl pkcs12 -in path.p12 -out newfile.key.pem -nocerts -nodes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment