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

相关推荐
用户69371750013843 小时前
Google 正在“收紧侧加载”:陌生 APK 安装或需等待 24 小时
android·前端
蓝帆傲亦4 小时前
Web 前端搜索文字高亮实现方法汇总
前端
用户69371750013844 小时前
Room 3.0:这次不是升级,是重来
android·前端·google
漫随流水5 小时前
旅游推荐系统(view.py)
前端·数据库·python·旅游
踩着两条虫6 小时前
VTJ.PRO 核心架构全公开!从设计稿到代码,揭秘AI智能体如何“听懂人话”
前端·vue.js·ai编程
jzlhll1237 小时前
kotlin Flow first() last()总结
开发语言·前端·kotlin
蓝冰凌8 小时前
Vue 3 中 defineExpose 的行为【defineExpose暴露ref变量】详解:自动解包、响应性与实际使用
前端·javascript·vue.js
奔跑的呱呱牛8 小时前
generate-route-vue基于文件系统的 Vue Router 动态路由生成工具
前端·javascript·vue.js
柳杉8 小时前
从动漫水面到赛博飞船:这位开发者的Three.js作品太惊艳了
前端·javascript·数据可视化