上海老张 發表於 2025-3-22 00:00:00

windows server上IIS开启绑定https,配置ssl证书

<p>1)安装IIS,这里过程省略</p><p>2)打开IIS管理控制台,双击“服务器证书”</p><p>&nbsp;<img style="max-width:100%!important;height:auto!important;" src="https://zhuji.jb51.net/uploads/allimg/20240109/1-240109103SB21.png" alt=""/></p><p>3)在弹出的窗口中,单击“导入”</p><p>&nbsp;<img style="max-width:100%!important;height:auto!important;" src="https://zhuji.jb51.net/uploads/allimg/20240109/1-240109103SK31.png" alt=""/></p><p>4)导入从腾讯云申请的pfx证书文件,注意申请证书时如果填写了密码,这里也要输入相关密码,最后单击“确认”即可</p><p>&nbsp;<img style="max-width:100%!important;height:auto!important;" src="https://zhuji.jb51.net/uploads/allimg/20240109/1-240109103SO58.png" alt=""/></p><p>5)右击目标站点(这里以默认站点为例),选择“编辑绑定”</p><p>&nbsp;<img style="max-width:100%!important;height:auto!important;" src="https://zhuji.jb51.net/uploads/allimg/20240109/1-240109103SMG.png" alt=""/></p><p>6)在弹出的窗口中,单击“添加”按钮并填写如下信息,最后单击“确认”即可</p><p>&nbsp;<img style="max-width:100%!important;height:auto!important;" src="https://zhuji.jb51.net/uploads/allimg/20240109/1-240109103SO13.png" alt=""/></p><p><strong>3、切换到主域名xxx.com添加相关A记录</strong></p><p>1)切换到主域名控制台,单击“解析”</p><p>2)单击“添加记录”</p><p>3)添加如下信息</p><p>&nbsp;<img style="max-width:100%!important;height:auto!important;" src="https://zhuji.jb51.net/uploads/allimg/20240109/1-240109103SK92.png" alt=""/></p><p>注:“183.61.xx.xx”是IIS服务器地址</p><p><strong>4、登录浏览器测试</strong></p><p>&nbsp;<img style="max-width:100%!important;height:auto!important;" src="https://zhuji.jb51.net/uploads/allimg/20240109/1-240109103SRc.png" alt=""/></p>
頁: [1]
查看完整版本: windows server上IIS开启绑定https,配置ssl证书