Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ibuys/0f9820c90ad5d5df7bf6ec4d5f1fe5ce to your computer and use it in GitHub Desktop.
Save ibuys/0f9820c90ad5d5df7bf6ec4d5f1fe5ce to your computer and use it in GitHub Desktop.
Convert p7b file to pfx file (to use Godaddy SSL/TLS Certificate for Azure Websites)
# Required files:
# .crt and .p7b: provided by Godaddy when exporting
# .key: self-generated file that was needed to create CSR (Certificate signing request)
#
# Note: this password has nothing to do with the password entered to create the CSR.
# It will be checked once the pfx is uploaded to Azure.
$ openssl pkcs12 -export -in www.mydomain.com.crt -inkey www.mydomain.com.key -certfile www.mydomain.com.p7b -out www.mydomain.com.pfx
Enter Export Password:
Verifying - Enter Export Password:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment