Daniel Peñalba
Daniel Peñalba

Reputation: 31907

Configure two SSL sites in IIS7 with the same IP and port

I would like to know how could I configure two sites for use as https. The sites are placed in the same machine (and the same IP). And I would like to use on both the default port 443.

For example:

enter image description here

I want an application inside site1.com to be SSL, and other application inside site2.com to be SSL too. Is this possible, and how could I configure it?

Upvotes: 1

Views: 711

Answers (2)

haim770
haim770

Reputation: 49123

If you aren't going to go with Wildcard SSL Certificate, your only hope is Server Name Indication. yet, SNI is only supported in IIS version 8.

See http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability

Upvotes: 1

Darin Dimitrov
Darin Dimitrov

Reputation: 1039578

You need to have 2 different IP addresses on the server for this to work. You will have the first site bound to the first IP and the second site to the second. In the bindings of the website you have to explicitly choose the correct IP address. Then you can select the SSL certificate for each site.

Upvotes: 1

Related Questions