Wednesday, December 2, 2009

Configuring Bindings for SSL in IIS 6.0

After configuring bindings in IIS 7.0, I had to do the same thing in IIS 6.0. In IIS 6.0 it’s a little funkier than just clicking on the right action link.

To configure this for SSL host headers in IIS 6.0 click Start, click Run, type

   1:  cmd

in the Open box, and then click OK.

Type the following command at the command prompt:

   1:  cscript.exe %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:<host header>"

where site identifier is the unique id that every website gets in IIS(if you have only one site, it’s 1) and host header is the host header for the Web site, for example,

No comments: