Forked from gpsarkar/export-pfx-without-password.txt
Created
August 12, 2021 06:02
-
-
Save ThemeSama/f1554a18af82afba3cd586033b1b2819 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