IIS wildcard SSL

If you have a wildcard ssl cert and want to assign it to more than one subdomains, can do it with the same static ip, first assign static IP to that domains IIS entry (like the normal procedure for setup IIS cert) and then follow the instruction of these web site to add host name to the https bindings :

IIS 6.0
        1. Click Start, click Run,
             type cmd
             in the Open box, and then click OK.

        2. Type the following command at the command prompt:

            cscript.exe adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:<host header>
            where host header is the host  header for the Web site, for example, site2.contoso.com or site4.contoso.com


       Look in c:\windows\system32\inetsrv\config and edit the applicationHost.config file. Make sure you take a backup first!

   1. Find the <sites> section in the file. In there you will find a <site> element for each IIS web site. Each of those has a <bindings> element with each port/protocol binding listed. Our main site looked like this:
      <binding protocol=”https” bindingInformation=”*:443:” />
      and we changed it to look like this:
      <binding protocol=”https” bindingInformation=”*:443:myhost.mydomain.com” />
   2. Repeat for each web application. If you have more than one web application on the same IP address using either http or https you need to configure a host header or you’ll have problems.
   3. Execute an iisreset.

      referring URL:
      IIS6 - http://www.microsoft.com/technet … e2d2c.mspx?mfr=true
      IIS7 - http://blogs.blackmarble.co.uk/b … for-sharepoint.aspx


- has written 121 posts.

Leave a Reply

You must be logged in to post a comment.