Created
March 9, 2015 15:10
-
-
Save antopor/8ba7359d2fce94c6d70b to your computer and use it in GitHub Desktop.
Some useful commands to make certificates
This file contains 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
Self signed root certificate | |
makecert -r -pe -n "CN=RootCA" -a sha1 -sky signature -cy authority -sv rootca.pvk rootca.cer | |
Make certificate signed by CA | |
makecert -cy end -n "CN=example.com" -ic rootca.cer -iv rootca.pvk -a sha1 -sky exchange -pe -sv example.com.pvk example.com.cer | |
Export private and public keys into pxf certificate | |
pvk2pfx -pvk example.com.pvk -spc example.com.cer -pfx example.com.pfx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment