在同一端口443和同一台服务器或IP上托管多个不同的网站,使用IIS 8。

huangapple go评论72阅读模式
英文:

Multiple different website hosting on same port 443 and same server or ip in IIS8

问题

目前,在同一台服务器的不同端口上托管了两个不同的网站,使用的是IIS8。现在我们想要将这两个网站迁移到同一台服务器的IIS上的HTTPS 443端口,并且有两个不同的域名可用:www.example1.com 和 www.example2.com。因此,需要哪种类型的SSL证书?不同的证书是否适用于每个网站?

英文:

Currently, two different websites are hosted on different ports in the same server IIS8. Now we would like to move those websites on HTTPS 443 in the same server IIS and two different domains are available www.example1.com, and www.example2.com thus which type of SSL certificate need? Does the different certificate work for each?

答案1

得分: 1

你可以在IIS中使用443端口,分别使用不同的域名和服务器名称识别设置来访问不同的网站。

你可以为你的域名购买任何受信任的根CA服务器证书,但你需要购买两个不同的证书。

英文:

You can use the 443 port with both different websites in iis with different domain names and server Name identification setting

在同一端口443和同一台服务器或IP上托管多个不同的网站,使用IIS 8。

you can buy any trusted root CA server certificate for your domain and you have to buy two different certificates.

答案2

得分: 1

IIS 8及更高版本支持SNI,因此多个站点可以绑定到相同的IP:443,

https://learn.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability

如果您发现尝试失败,可以深入到Windows HTTP API层,查看是否正确配置了SNI证书映射,

https://docs.jexusmanager.com/tutorials/https-binding.html#background

或生成诊断报告,

https://docs.jexusmanager.com/tutorials/ssl-diagnostics.html

只要证书对服务器身份验证有效,就没有特殊要求。

英文:

IIS 8 and above supports SNI, so multiple sites can bind to the same IP:443,

https://learn.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability

If you find your attempts fail, you can go deep to Windows HTTP API layer to see if you get SNI certificate mappings configured properly,

https://docs.jexusmanager.com/tutorials/https-binding.html#background

or generate a diagnostics report,

https://docs.jexusmanager.com/tutorials/ssl-diagnostics.html

There isn't special requirements on certificates as long as they are valid for server authentication.

huangapple
  • 本文由 发表于 2023年1月9日 18:31:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/75055964.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定