IIS实现HTTPS的主机名绑定
作者:admin 日期:2020-06-05
默认情况下,IIS中HTTPS 绑定是无法指定主机名的
解决办法:通过手工修改 IIS 配置来实现主机头绑定。打开如下位置的文件。
C:\Windows\system32\inetsrv\config\applicationHost.config
找到节点
<bindings>
<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.xxxxxx.com" />
<binding protocol="https" bindingInformation="*:443:" />
</bindings>
更改为你的域名
<binding protocol="https" bindingInformation="*:443:www.xxxxxx.com" />
ok!
上一篇: IIs7.5隐藏X-Powered-By信息
下一篇: Visual Studio 2013 各个版本的产品密钥
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: iis
相关日志:
下一篇: Visual Studio 2013 各个版本的产品密钥
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: iis
相关日志:
评论: 0 | 引用: 0 | 查看次数: 246
发表评论
广告位