Create a gist now

Instantly share code, notes, and snippets.

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 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