To create a self-signed SSL certificate, do the following.
Prerequisites
- Microsoft Visual Studio installed.
Navigation
- Click Start > All Programs > Visual Studio
> Visual Studio Tools > Visual Studio Command Prompt.
Instructions
- On the Visual Studio command prompt, enter the following command:
Makecert -sv SignRoot.pvk -cy authority -r signroot.cer -a sha1 -n "CN=[your
certification name]" -ss my -sr localmachine
- To move your SSL certificate from Personal folder to Trusted Root
Certificate Authorities folder, complete the following steps:
- In the Visual Studio command prompt, enter mmc.
- On the Console Root window, click File > Add/Remove Snap-in.
- On the Add or Remove Snap-ins window, select
Certificates, and click Add.
- On the Certificates snap-in window, click Computer account.
- On the Select Computer window, click Local computer.
- On the Console Root window, click the Right arrow
to expand Certificates (Local Computer)
- Drag your SSL certificate from the Personal folder to the
Trusted Root Certificate Authorities folder.
- To give your SSL certificate URL name, enter the following command:
Makecert -iv SignRoot.pvk -ic signroot.cer -cy end -pe -n
CN="SSL-Url-Name" -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localmachine -sky exchange
-sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12