- download the dependencies https://dl.dropbox.com/u/21665105/createcert.zip
- Run
createcert.cmd mycert mypassword
- You will be promted to enter the same password 5 times
Created
July 7, 2012 15:18
-
-
Save woloski/3066840 to your computer and use it in GitHub Desktop.
Create a self signed certificate on Windows
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 characters
makecert -r -n "CN=%1" -b 01/01/2000 -e 01/01/2099 -eku 1.3.6.1.5.5.7.3.3 -sv %1.pvk %1.cer -sky Exchange -pe | |
cert2spc %1.cer %1.spc | |
pvk2pfx.exe -pvk %1.pvk -spc %1.spc -f -pfx %1.pfx -po %2 | |
del %1.spc | |
del %1.pvk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment