Friday, 29 May 2009

IIS6 using an SSL certificate on more than one site on one IP

This is the command to run:

C:\Inetpub\AdminScripts>cscript.exe adsutil.vbs set /w3svc//SecureBindings ":443:"

Site indentifier - Is the site ID assigned by IIS
Host name - Is the site URL e.g. something.domain.com, www.domain.com

This command is useful if you have a wildcard or unified communications certificate.

Original article is here:

http://www.sslshopper.com/article-how-to-configure-ssl-host-headers-in-iis-6.html