Created
February 3, 2015 14:52
-
-
Save stuartpreston/332d428dc342d13d7180 to your computer and use it in GitHub Desktop.
[OpenSSL] Convert base64 encoded DER to PEM format (e.g. to convert Microsoft Azure Management Certificate to .PEM format for cross-platform compatibility)
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
openssl base64 -d -A -in mgmtcert.pfx -out decoded.der | |
openssl pkcs12 -in decoded.der -out mgmtcert.pem -nodes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great... Saved my day. Thanks a lot for sharing :)
Used
openssl base64 -d -A -in mgmtcert.pfx -out decoded.der
to convert base64 encoded CER file to binary CER file+1