IIS7绑定多个HTTPS网站并应用自签名证书!

发布时间:2016/9/28 23:04:37 打印 字号:

默认情况一个服务器的IIS只能绑定一个HTTPS也就是443端口

要实现多个站点对应HTTPS只能更改IIS配置

地址:C:\Windows\system32\inetsrv\config\applicationHost.config、

默认一个站点带一个这样的配置

    <binding protocol="https" bindingInformation="*:443" />

修改成:

      <binding protocol="https" bindingInformation="*:443:www.baidu.om" />

切记需要对应的每个站点都修改。