-
-
Save odytrice/3a2d1d09ec24f8cc4b3c8e4b82187890 to your computer and use it in GitHub Desktop.
Revisions
-
andrewabest created this gist
Feb 10, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ echo off :: download OpenSSL if you don't have it for the below :: Conver the p7b into PEM format openssl pkcs7 -in mydomain.p7b -print_certs -out mydomain.pem :: Combine this with the crt server certificate and private key into a PFX openssl pkcs12 -export -in mydomain.crt -inkey mydomain.key -certfile mydomain.pem -out mydomain.pfx