Skip to content

Instantly share code, notes, and snippets.

@akramarev akramarev/_.sh
Created Jan 28, 2019

Embed
What would you like to do?
[pk12 into pem]
# 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
You can’t perform that action at this time.