Create a self-signed SSL certificate with SelfSSL from the IIS 6.0 Resource Kit.
The IIS 6.0 Resource Kit contains a utility called SelfSSL.exe for quickly and easily creating and installing a self-signed certificate into IIS 6 for Windows 2003 or XP.
Explanation of selfssl.exe switches (used in command above):
- /N:CN=www.powercram.com – common name of the certificate.
- /K:1024 – key length.
- /V:180 – number of days certificate is valid.
- /S:56792119 – IIS site ID. Default is 1 for “default site.”
- /P:443 – SSL port.
- /T – Adds the self-signed certificate to “Trusted Certificates” list.