Link to home
Start Free TrialLog in
Avatar of TheRegion
TheRegion

asked on

SSL with multiple host headers in the same IIS site

I recently purchased a wildcard SSL certificate and configured several IIS web sites on the same server with SSL, using the standard host header method shown on Microsoft:
http://technet2.microsoft.com/windowsserver/en/library/1032c063-e372-4875-9a31-d6de8e1e87921033.mspx

Here's what the code looks like:
c:\inetpub\adminscripts\adsutil.vbs set w3svc/####/SecureBindings ":443:clientname.mydomain.com"

(where #### is the IIS web site number)

My server only has one IP address, and all the sites work perfectly in http and https.

Now here's the problem - I have some IIS sites that use multiple domains. For example one of my IIS sites has clientname1.mydomain.com and clientname2.mydomain.com in the host headers list (under the advanced web site identification tab). How would I enable SSL for both domains on this site?

Would it be something like this?
adsutil.vbs set w3svc/####/SecureBindings ":443:clientname1.mydomain.com :443:clientname2.mydomain.com"

This is a fairly common scenario, so hoping there was a solution.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of msd_informatique
msd_informatique

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial