Firefox,访问https url 时出错

Toc*_*Toc 5 firefox https ssl hotspot

我通过公共 wifi 热点连接。使用 IExplorer 时没有问题。当我使用 Firefox 时,我在询问任何 https url 后收到以下错误消息,例如https://www.google.com

An error occurred during a connection to www.google.com.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)
Run Code Online (Sandbox Code Playgroud)

我该如何解决?

std*_*err 1

取消选中 TLS 加密即可修复此问题。Tools> Option> Encryption (tab)> 和uncheck TLS 1.0


更新

寻找这些偏好(security.tls.version*)。

  • 安全.tls.版本.min
  • 安全.tls.版本.max

在 Awesomebar 中,键入或粘贴about:config并点击“前往”箭头。tls在搜索框中键入内容并点击Enter按键以查找包含tls的所有首选项。

根据代码中的注释:

// 0 means SSL 3.0, 1 means TLS 1.0, 2 means TLS 1.1, etc.
Run Code Online (Sandbox Code Playgroud)

因此,请尝试将minmax设置为2,以强制使用TLS 1.1,然后看看是否有效。

See Reference