Ssl – Running multiple SSL Web Sites on IIS on Port 443

iisiis-7ssl

I have two Server but just one IP and the need to run on both a Site under the port 443.

I've found out that it is also possible to run multiple SSL web sites on 443 using a shared IP address by making use of Host Headers, however this requires a Wildcard Certificate and a metabase configuration change. But that sounds really bad so I would prefer to use any other solution.

I don't know if it is important that the Domain (certificate) mysub.domain.com is verified by verisign

Best Answer

The SSL negotiation, including the browser analyzing the Common Name field of the certificate to compare against the host it attempted to connect to, occur long before the server has a chance to see a request. Because of this the server cannot deliver a certificate based upon the Host: head in the request. A wildcard certificate resolves this only because the same certificate is used for each hosted site.

For example if you have a *.example.com cert and you use it to host (based on Host header):

blog.example.com
www.example.com

In each case the certificate is valid for the site hosted and the browser will be happy.