tags:

views:

831

answers:

4

I've set up multiple ssl sites on iis using Servier Bindings as per this article: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/8d9f2a8f-cd23-448c-b2c7-f4e87b9e2d2c.mspx?mfr=true

I have two different ssl certs for the two sites installed but when I browse to either site I get the same certificate. Is there any way to configure this without buying a wildcard cert?

A: 

Each site will need a seperate IP address.

Ely
+1  A: 

Configure the sites to run on different IP-addresses or ports. The reason for this is because SSL is wrapped AROUND http, and the host headers is sent inside HTTP. E.g. the server doesn't know what site a request is for at the SSL-layer.

svinto
+3  A: 

Without using different IPs or ports, no. Due to the way that HTTPS connections work the encrypted connection happens before things like host headers can be sent, so there's no way for the server to know which one to connect to.

Steven Robbins
A: 

If both the browser and the web server support the Server Name Indication extension, the web server can use it to select the correct certificate. Otherwise, you would have to use two separate IP addresses or the wildcard certificate (as the other answers already mentioned, the HTTP headers, including the Host header which tells the web server which site is being requested, are encapsulated within the SSL/TLS connection).

CesarB