Skip to content

Instantly share code, notes, and snippets.



Created Jul 7, 2012
What would you like to do?
Create a self signed certificate on Windows
makecert -r -n "CN=%1" -b 01/01/2000 -e 01/01/2099 -eku -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