Created
June 27, 2018 22:00
-
-
Save riseno/05b1d5350fca005fc1613a98aeb10faa to your computer and use it in GitHub Desktop.
extract p12 to pem and erase pem password
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
# extract p12 to pem | |
openssl pkcs12 -clcerts -nokeys -in apiclient_cert.p12 -out apiclient_cert.pem | |
openssl pkcs12 -nocerts -in apiclient_cert.p12 -out apiclient_key.pem | |
# erase pem password | |
openssl rsa -in apiclient_key.pem -out apiclient_key_no_password.pem | |
openssl x509 -in apiclient_cert.pem -out apiclient_cert_no_password.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment