英文:
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
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,
如果您发现尝试失败,可以深入到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,
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论