Skip to content

Instantly share code, notes, and snippets.

@psilva261
Created January 16, 2015 11:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save psilva261/dede25e29198d58c5728 to your computer and use it in GitHub Desktop.
Save psilva261/dede25e29198d58c5728 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