IIS 搭建https站点

时间:2024-04-09 13:52:14

1. 新建自签名证书

IIS 搭建https站点

2. 新建一个https站点,type选https, 端口号默认443,也可以更改。证书下拉选择上一步创建的那个.hostname填写自己想要的。高版本iis可以直接填写host name. 低版本需要修改,用图二方法

IIS 搭建https站点IIS 搭建https站点

IIS 搭建https站点

 

3. 创建好后,选中网站,点击右栏的ssl settings. 操作如下。这样新建的站点就不会弹出是否继续的安全提示

IIS 搭建https站点

IIS 搭建https站点

4. 然后host里配置好域名指向本机。至此,自搭建https 站点就此完成。