私有证书不被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严格阻止了该网站的访问。

相关推荐
澹锦汐6 小时前
纯前端秋日银杏与枫叶落叶色板智能聚类器:基于 K-Means 色彩量化与直方图自动配方提取
前端·人工智能·ai·语言模型·vue·react·k-means
Flynt13 小时前
AI 写的 Three.js 大屏,为什么越跑越卡?我在 Node 里复现了它的内存曲线
前端·ai编程·three.js
一个游离的指针15 小时前
Vue2:vue-router
前端·javascript·vue.js
火山引擎和TA的超级拍档们18 小时前
产品情报局 11 | AI 数据湖 LAS:打造大模型时代多模态数据底座
前端·后端
JavaGuide18 小时前
Gemini 真的变强了,写代码做视频的能力接近 Claude Opus5.5 了!
前端·ai编程
niceyayale18 小时前
WebRTC 延迟怎么调试:从 ICE 到 jitter buffer 的六个观测点
前端
aleimu18 小时前
Windows 11 右键打开 Cmder 2.0:从找不到菜单到默认使用 Cmder
前端·人工智能·后端
tryCbest18 小时前
Vue系列——第 20 篇:Vue Router 4——路由管理完全指南(上)
前端·javascript·vue.js
feixing_fx18 小时前
原始类型与引用类型:赋值时到底复制了什么
开发语言·前端·javascript·前端框架
一条破秋裤19 小时前
【1115】【多线程】【笔记】
前端·chrome·笔记