惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
H
Help Net Security
雷峰网
雷峰网
V
Visual Studio Blog
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
Hugging Face - Blog
Hugging Face - Blog
爱范儿
爱范儿
IT之家
IT之家
Engineering at Meta
Engineering at Meta
Microsoft Security Blog
Microsoft Security Blog
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
月光博客
月光博客
A
About on SuperTechFans
B
Blog RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale

博客园 - 广交天下好友

maui发布安卓系统 MAUI 运行环境注意事项 MQTT项目应用 MQTT 网络方面小知识 电脑小知识 Redis操作篇 Modbus 软件安装注册码 wpf 关闭热重载 重装vs2022 nuget添加包报错: Unexpected character encountered while parsing value: �. Path '', line 0, position 0. WPF 踩过的坑 vs2019 未能加载文件或程序集“System.Data.SQLite”或它的某一个依赖项。试图加载格式不正确的程序。 sql 备忘录 Excel 其它操作 护眼颜色调整 练习第一篇 Python Requests使用 第一篇 C#模拟http请求抓取数据 asp.net webService添加头文件验证 好文记录地址 关于邮件发送和邮件附件接收方面 sql 查询时间当前时间少7天 20190729研究和学习篇 C# Timer同步和异步使用 马肯9450命令回传 上海公积金社保业务办理
给 IIS 配置 HTTPS
广交天下好友 · 2026-09-10 · via 博客园 - 广交天下好友

第 1 步:生成自签名证书

以管理员身份打开 PowerShell:

New-SelfSignedCertificate -DnsName "192.168.1.2" -CertStoreLocation "cert:\LocalMachine\My"

记下输出的证书指纹(Thumbprint)。

image

第 2 步:在 IIS 中绑定 HTTPS

  1. 打开 IIS 管理器
  2. 左侧选择你的站点
  3. 右侧点击 绑定 → 添加
  4. 类型选 https,端口填 8443(或 443)
  5. SSL 证书选择刚才创建的自签名证书
  6. 点击确定

image

第 3 步:信任自签名证书(每台客户端电脑都要做)

在访问的电脑上:

  1. 浏览器访问 https://192.168.xx.xxx:8443/
  2. 会提示证书不安全,点击 高级 → 继续前往
  3. 或者将证书导入到 受信任的根证书颁发机构