Created
March 4, 2019 14:23
-
-
Save gpsarkar/2d59c73287c555f186a3bd1cee03994d to your computer and use it in GitHub Desktop.
export pfx without password
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
openssl pkcs12 -in MyCertificate.pfx -clcerts -nokeys -out MyCertificate.crt | |
openssl pkcs12 -in MyCertificate.pfx -nocerts -out MyCertificate-encrypted.key | |
openssl rsa -in MyCertificate-encrypted.key -out MyCertificate_unenc.key | |
openssl pkcs12 -export -out MyCertificate_np.pfx -inkey MyCertificate_unenc.key -in MyCertificate.crt -passout pass: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment