PowershellScripter
PowershellScripter

Reputation: 11

Using different SSL certificate on IIS websites with same port number

I was wondering if it's possible to use different certificate on websites that have the same port number. I have about 15 websites that are sharing the same port number 443.

When I change a certificate of one, be it via Powershell or directly through IIS, it changes the certificate of all the other websites on that port. However, if I create a test website on a different port, say 441, IIS allows me to have different certificates on them.

I was wondering if it's possible (preferably via Powershell) to have my IIS sites created and configured in such a way that they can have different SSL certificates assigned to them?

Upvotes: 0

Views: 1833

Answers (1)

Bruce Zhang
Bruce Zhang

Reputation: 3042

Yes, it is possible.

You need to set different host name for each site so that the site can be accessed by https://hostname:443, not https://localhost:443 or https://serverIP:443.

When setting binding of the site, check the Require Server Name Indication. enter image description here

Upvotes: 1

Related Questions