服务提醒:若你再购买过程有任何问题,请与我们的24小时在线客服取得 联系 TG:@wwwsslsvip
IIS7 https无法绑定主机头,显示灰色
2019-02-15 18:31    证书安装

据了解,IIS7下面默认HTTPS绑定是无法指定主机头的,但我们可以通过手工修改IIS配置来实现主机头绑定。

打开C:\Windows\system32\inetsrv\config\applicationHost.config

定位到如下位置:

找到https的配置项目行,修改为: 

<bindings>
<binding protocol="https" bindingInformation="*:443" />
<binding protocol="net.tcp" bindingInformation="808:*" />
<binding protocol="net.pipe" bindingInformation="*" />
<binding protocol="net.msmq" bindingInformation="localhost" />
<binding protocol="msmq.formatname" bindingInformation="localhost" />
<binding protocol="http" bindingInformation="*:80:www.ssls.vip" /> </bindings>
找到https的配置项目行,修改为: 
<binding protocol="https" bindingInformation="*:443:www.ssls.vip" /> 

注意这里的www.ssls.vip要换成你自己的域名,之后保存即可