Firefox浏览器
错误信息
SSL_ERROR_UNSUPPORTED_VERSION
在“Secure Connection Failed”页面上显示为“Error code: SSL_ERROR_UNSUPPORTED_VERSION”,并附有说明,指出该网站可能不支持 TLS 1.2。在我们的本地测试中,只支持 TLS 1.0 的 OpenSSL 服务器让 Firefox 报告的是 SSL_ERROR_UNKNOWN;badssl 的主机则会给出这个具体的错误码。
Firefox — "Secure Connection Failed": the server only supports TLS versions Firefox no longer allows
含义
服务器使用的 TLS 版本低于 Firefox 的最低要求(TLS 1.2),因此 Firefox 显示“Secure Connection Failed”和错误码 SSL_ERROR_UNSUPPORTED_VERSION 并终止连接。该网站需要支持 TLS 1.2 或 1.3;它的证书没有任何问题。
原因
服务器只支持 TLS 1.0 或 1.1
常见2020年,Firefox 从版本 78 起默认禁用了 TLS 1.0 和 1.1。
嵌入式管理界面
偶见打印机、交换机和 UPS 管理卡是目前仍在运行的最常见的 TLS 1.0 服务器。
修复方法
- 1.
网站所有者:启用 TLS 1.2 和 1.3
更新服务器,或者在它前面放一个现代的反向代理。
text # Site owners: enable TLS 1.2 and 1.3 ssl_protocols TLSv1.2 TLSv1.3; # nginx SSLProtocol -all +TLSv1.2 +TLSv1.3 # Apache httpd - 2.
旧设备:隔离设备,而不是削弱浏览器的安全性
调低 security.tls.version.min 会影响所有网站;如果必须这样做,就在单独的配置文件中修改,用完后再改回来。
text Old device you cannot update (printer, switch, UPS): reach its admin page only from a trusted management network. Firefox's "Enable TLS 1.0 and 1.1" button on the error page (setting security.tls.version.min) lowers protection for every site; revert it right after use.