Created
January 30, 2017 16:56
-
-
Save martin-cotta/bed5186efe55cb2a8f279b8461616183 to your computer and use it in GitHub Desktop.
Goddady SSL/TSL Certificate (P7B + CRT) to Azure PFX Certificate
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
# Required files: | |
# domain.crt and godaddy.p7b: provided by Godaddy when exporting | |
# private.key: self-generated file that was needed to create CSR (Certificate signing request) | |
$ openssl pkcs12 -export -in domain.crt -inkey private.key -certfile godaddy.p7b -out domain.pfx | |
# or if you need intermediate .cer instead of .p7b | |
$ openssl pkcs7 -print_certs -in godaddy.p7b -out godaddy.crt | |
$ openssl pkcs12 -export -in domain.crt -inkey private.key -certfile godaddy.cer -out domain.pfx | |
# the password asked by the command will be used when uploading the pfx to Azure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment