首页 > 其他 > 详细

IIS7 配置ssl证书 多域名绑定443端口

时间:2017-02-10 12:42:06      阅读:1705      评论:0      收藏:0      [点我收藏+]

 IIS7下多个子域名同时配置https协议,但IIS7默认支持单个443端口造成端口冲突;

解决方案:先把每个域名配置不同的端口 例:444,445,446等

然后在:C:\Windows\system32\inetsrv\config\applicationHost.config

找到

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

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

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

 

修改成:

 <binding protocol="https" bindingInformation="*:443:www.domain.com" />

<binding protocol="https" bindingInformation="*:443:www.domain.com" />

<binding protocol="https" bindingInformation="*:443:www.domain.com" />

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

 

然后在iis的站点上重新选择下证书,重启iis站点。

IIS7 配置ssl证书 多域名绑定443端口

原文:http://www.cnblogs.com/chenminli/p/6385745.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!