如何通过 firefox 浏览器中的安全错误页面?

How to get through security error pages in firefox browser?

我知道我们在 Chrome 中使用 thisisunsafe 来绕过此类错误页面,但我如何在 Firefox 中绕过此类页面? 加载页面时出现以下错误:-

Firefox detected a potential security threat and did not continue to <site> because this website requires a secure connection.

<site> has a security policy called HTTP Strict Transport Security (HSTS), which means that Firefox can only connect to it securely. You can’t add an exception to visit this site.

我尝试了以下步骤来解决它,但没有解决问题:-

  1. 打开一个新标签并输入about:config
  2. 点击了 Accept the Risk and Continue
  3. 在搜索字段中,输入 security.enterprise_roots.enabled 并按回车键
  4. 我看到一个字段已经启用 true
  5. 不知道下一步该做什么,因为该字段已经启用true

我正在 Firefox 中寻找 thisisunsafe 的解决方法。

  1. 在 Mozilla Firefox 地址栏中,键入 about:config
  2. 寻找network.stricttransportsecurity.preloadlist
  3. 并将最后一个字段值设置为false并重新启动浏览器。

截至 2022 年 4 月 5 日,这就是我使用 Firefox 98 绕过 You can’t add an exception to visit this site. 的方式。

如果您在没有 Add Exception 按钮的情况下看到此内容:

  1. 打开Firefox的Preferences:

  1. 打开 Privacy & Security 选项卡:

  1. 向下滚动到 Certificates 并点击 View Certificates...

  1. 打开 Servers 选项卡并单击 Add Exception...

  1. 填写 Location 字段并点击 Get Certificate:

  1. 点击Confirm Security Exception:

  1. 你现在应该看到你的异常,点击 Ok:

  1. 重新加载您的页面,您现在应该可以看到您的网站了:)