Easy way to setup SSL for testing on IIS


If you want to test SSL on IIS 6.0 you need to go through the hassle of creating a certificate and configuring IIS to allow SSL connections.

You can avoid all this with a simple execution of a small program called SelfSSL. SelfSSL is a program that creates and installs a local certificate and configures IIS for SSL.

Here are the steps to follow:

  1. Download the IIS 6.0 Resource toolkit from Microsoft MSDN Downloads.
  2. Install the toolkit.
  3. Open a command prompt (Start -> Run -> cmd -> [ENTER])
  4. Go to the following path: C:\Program Files\IIS Resources\SelfSSL
  5. Execute the program SelfSSL with the following command: SelfSSL.exe /T
    The /T option adds the self-signed certificate to “Trusted Certificates”
    list. The local browser will trust the self-signed certificate
    if this flag is specified.

Happy SSL-ing ;-)