Win Server 2008 R2 IIS 默认只能添加一个 443 HTTPS 端口,更换证书

1、问题:

解决方案:

方法一:
然后在:C:\Windows\system32\inetsrv\config\applicationHost.config
找到 对应网站

<binding protocol="http" bindingInformation="*:80:api.xxx.com" />

在其下方添加 如下
<binding protocol="https" bindingInformation="*:443:api.xxx.com" />

即可
 
 
 
2、更换证书
采用IP地址
 

猜你喜欢

转载自www.cnblogs.com/xiaoyou2018/p/12736827.html