20

I currently have several sites deployed on an iis 8.5 server, each site has its own 80 and 443 binding, i need to have different certificates for each one of the hostnames configured on the machine, however when i want to edit the cert associated to the 443 binding on one site, i get the following message:

At least one other site is using the same HTTPS binding and the binding is configured with a different certificate. are you sure that you want to reuse this HTTPS binding and reassign the other site or sites to use the new certificate?

Yes / No

This happens even though i have the hostnames set for each binding of each site,

If i hit yes, all bindings are modified and all sites remain with the same cert, and if i hit no, nothing happens,

How can i change the certs for just 1 of the sites i have hosted?

2 Answers 2

25

This can be achieved using Server Name Indication (SNI), and configuring it on IIS 8 (not available on previous versions)

after checking the server name indication checkbox you won't get the same message again

Server name indication ends up being the same as having virtual hosts on nginx or apache.

Example from editing Bindings for a web site in IIS 10: enter image description here

1
  • This link is broken... Don't paste urls... Paste the actual content itself
    – Mick
    May 26, 2020 at 8:55
1

You cannot, unless you have multiple IP addresses bound to your NIC. The host header sent per request isn't visible to your server, as such, it resolves which SSL certificate to use based on the IP requested - essentially SSL bindings are done against the IP, not the hostname (I know it doesn't look like that in the GUI).

Why do you want a certificate per site? Why not just get a wild card and set the host header per site?

Please see the question/answer here, essentially the same as what you're asking.

2
  • Actually, it can be achieved with server name indication it seems! :) already tested it and it works beautifully Jun 21, 2017 at 15:31
  • But this is more an "application-layer" management than a network one, since it's done through the host header at http level. May 27, 2020 at 16:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .