IIS 7 and Above
Multiple SSL Certificates on the same server
Re: Multiple SSL Certificates on the same server
Dec 16, 2010 02:39 AM|steffen.wollesen|LINK
Thank you all.
As mentioned earlier, I have 2 different sites (site_1 and site_2)
By using the probably most common way, I have set Hostheader_1 to HTTPS (443) using cert_1, (at site_1, IP Address = All Unassigned - IP_1 would also work here).
Also using the GUI on site_2, I defined https (443), cert_2, IP Address=IP_2. Hostheader_2 was "grayed out". so I could not define cert_2 to hostheader_2. because of this, I used the following command:
C:\Windows\System32\inetsrv\appcmd set site /site.name:*.CERT_2 /+ bindings.[protocol='https',bindingInformation='IP_2:443:HOSTHEADER_2']
When using CNAME's in DNS, it is mandatory that the DNS server is NOT configured to have 2 ip-addresses for the web server hosting the sites. instead the DNS server needs an A-record for hostheader_2 pointing at IP_2.
Perhaps the above is not the simplest or the correct method.
BUT it works ...