千家信息网

IIS安装HTTPS

发表于:2025-12-01 作者:千家信息网编辑
千家信息网最后更新 2025年12月01日,在线生成pfx文件网址:https://www.myssl.cn/tools/merge-pfx-cert.html 点"服务器证书",导入pfx文件:URL Rewrite 规则:name: htt
千家信息网最后更新 2025年12月01日IIS安装HTTPS

在线生成pfx文件网址:


https://www.myssl.cn/tools/merge-pfx-cert.html


点"服务器证书",导入pfx文件:


URL Rewrite 规则:

name: http to https


pattern:(.*)


点 add 增加规则:

{HTTP_HOST}
^(localhost|已绑定不需要跳转的域名)


{HTTPS}

^OFF$

填上:https://{HTTP_HOST}/{R:1}



{HTTP_HOST}这个规则要放下面

0