私有证书不被edge浏览器认可的问题的解决-Debian13环境下

一、问题描述:

我自建了一个wiki.ssbbcc.com 的私有网站,不知道因为什么原因,edge浏览器无法打开了,出现了下面的错误提示内容:

bash 复制代码
wiki.ssbbcc.com uses encryption to protect your information. When Microsoft Edge tried to connect to wiki.ssbbcc.com this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be wiki.ssbbcc.com, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Microsoft Edge stopped the connection before any data was exchanged.

You can't visit wiki.ssbbcc.com right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later.

二、解决方法

1. 在Edge中清除HSTS:

打开 edge://net-internals/#hsts

在 "Delete domain security policies" 中输入 wiki.ssbbcc.com

点击 "Delete"

2. 重新倒入生成的证书的 *.crt 部分

bash 复制代码
# 重新导入根证书到系统信任库-Debian13
sudo cp /home/SSL/*.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates

# 或者在Windows中重新导入
certutil -addstore -f "Root" rootCA.crt

三、重启edge,打开网站

如果以上还没有解决,可尝试禁用该网站的证书验证

四、禁用edge对指定网站的证书验证

五、问题的原因在于 HSTS技术

后继分析原因,是因为我的网站采用了强制301转换为https, 由于申请的证书过期,edge严格阻止了该网站的访问。

相关推荐
#麻辣小龙虾#17 分钟前
网页布局css中flex+margin的组合布局技巧
开发语言·前端·javascript
叼烟扛炮20 分钟前
Linux 学习笔记(四十五):Web 安全基石——Cookie、Session 与 HTTPS 原理解析
linux·前端·网络·笔记·学习·tcp/ip·安全
环境栈笔记27 分钟前
指纹浏览器安卓怎么用?从运行位置到功能验收,先把三种方案分清
前端·人工智能·后端·自动化
计算机魔术师1 小时前
Anthropic IPO 招股文件披露近 9000 亿美元隐性债务
前端
chi11301 小时前
【无标题】
前端·javascript·python
IT_陈寒2 小时前
JavaScript实战技巧总结:深挖数组遍历的性能陷阱与实战解法
前端·人工智能·后端
步行cgn2 小时前
为什么既要 web.xml 又要 springmvc.xml?能不能只配一个?
xml·前端·hive
风骏时光牛马2 小时前
大模型综合能力评测:多维度性能与对齐效果对比
前端
winfredzhang2 小时前
从零手写一个毛玻璃风格的页面搭建台:单文件 HTML 实现组件放置、面板磁吸与图层管理
前端·html
葡萄城技术团队10 小时前
1000 人协同压测的环境瓶颈排查:CPU 争用与 Wi\-Fi
前端