Configuring Multiple SSL Certificates in IIS7.0

I found this awesome article on how to setup multiple SSL certificates on the same IIS Server.  I have several sites I host on my web servers and have always had the problem of redirection to the first SSL certificate site. Here's how it works:

  • Install your SSL certificates
  • In IIS 7.0, for each site, create the SSL bindings pointing to your certificates (note how you can't set the host headers here – why microsoft why?)
  • Use the following command to "update" the host header:
    • appcmd set site /site.name:"services.architectingconnectedsystems.com" /bindings.[protocol='https',bindingInformation='*:443:'].bindingInformation:*:443:services.architectingconnectedsystems.com

the site.name searches for the site name that displays in IIS manager
the bindings searches for the binding in IIS that matches protocol, IP, port, host header (https, *, 443, <null>)
the final "bindingInformation" sets the binding information updating the host header to what you want

Reference this page for more info:

http://technet.microsoft.com/en-us/library/cc753195%28WS.10%29.aspx