Activities

December 2009
M T W T F S S
« Nov   Jan »
 123456
78910111213
14151617181920
21222324252627
28293031  

Installing Self signed certificate on IIS6

1. Install IIS root kit. Pls make sure that selfSSL was enabled and installed during the installation time.
2. Switch to IIS Root installation directory from the command mode.
3.http://codeforeternity.com/blogs/technology/archive/2008/02/15/creating-self-signed-ssl-certificates-on-iis-6-0-and-windows-server-2003.aspx

D:Program FilesIIS ResourcesSelfSSL>

selfssl.exe /N:CN=dev.mydomain.co.uk /K:2048 /V:600  /S:1656415755 /P:443

Microsoft (R) SelfSSL Version 1.0
Copyright (C) 2003 Microsoft Corporation. All rights reserved.
Do you want to replace the SSL settings for site 1656415755 (Y/N)?y
The self signed certificate was successfully assigned to site 1656415755.
D:Program FilesIIS ResourcesSelfSSL>

/N:cn — Specifies the common name of the certificate. The computer name is used if not specified. Use domain name like mydomain.com
/K:key size — Specifies the key length. Default is 1024.
/V: — validity days Specifies the validity of the certificate. Default is 7 days.
/S:site id — Specifies the id of the site. Default is 1 (Default Site). YOu find the site id from the website listing on the IIS manager.
/P:port —- Specifies the SSL port. Default is 443.
/Q — Quiet mode. You will not be prompted when SSL settings are overwritten.

that’s it. Try to access the website at https://dev.mydomain.co.uk.

Pls note that each SSL certificate installation requires a dedicated ip. For the testing, you may use different port for installing ssl on the same ip.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>