Created
May 16, 2011 11:56
-
-
Save tswann/974318 to your computer and use it in GitHub Desktop.
Self-Certified SSL Certificates using makecert
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
| # Create a trusted authority | |
| makecert -sv SignRoot.pvk -cy authority -r signroot.cer -a sha1 -n "CN=Dev Cert Authority" -ss my -sr localmachine | |
| # First install root auth certificate above (See comment), then... | |
| # Create authorised certificate for actual use | |
| makecert -iv SignRoot.pvk -ic signroot.cer -cy end -pe -n "CN=localhost" -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localmachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installing the Root Auth Certificate:
Run -> mmc
File -> Add/Remove Snap-In -> Add ->
Double click 'Certificates'
Select 'Computer Account' radio button
Next -> Finish -> Close -> OK
Move the authority cert from "Personal/Certificates" to "Trusted Root Certificate Authorities/Certificates"