The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]”。
时间: 2024-06-26 19:00:47 浏览: 374
当您看到这样的错误消息"The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]",它意味着您的客户端(如浏览器)不支持服务器所使用的最低安全协议版本TLS 1.0,而客户端仅接受更高级别的版本,比如TLS 1.3 或 TLS 1.2。TLS 1.0是一个较早的标准,安全性较低,不被现代客户端推荐,因为可能存在已知的安全漏洞。
为了解决这个问题,您应该更新客户端以支持至少TLS 1.2或更高的协议版本。这可能包括更新浏览器到最新版本,或者在配置服务器时,让其支持更广泛的一系列安全协议。如果不希望更改服务器设置,那么从客户端的角度看,升级到支持这些更高版本的加密套件是必要的。
相关问题
The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]
服务器选择的协议版本TLS10不被客户端偏好的协议版本[TLS13, TLS12]所接受,从而导致连接失败。解决这个问题的方法是删除jdk.tls.disabledAlgorithms配置项中的TLSv1,这样TLS1.0就可以使用了。可以通过搜索关键词“jdk.tls”找到配置项jdk.tls.disabledAlgorithms,其中包含了不可用的算法配置,包括TLSv1。因此,这就解释了为什么会出现这个问题。
The server selected protocol version TLS10 is not accepted by client preferences [TLS12]
这个问题是由于客户端和服务器端的TLS版本不一致导致的。客户端希望使用TLS1.2,但服务器选择了TLS1.0。为了解决这个问题,有以下两种方法:
1.升级服务器端的TLS版本,使其支持TLS1.2。这可以通过更新服务器端的SSL/TLS库来实现。例如,在Apache服务器上,可以通过更新OpenSSL库来升级TLS版本。
2.降低客户端的TLS版本,使其支持TLS1.0。这可以通过在客户端应用程序中设置SSLContext来实现。例如,在Java中,可以使用以下代码将SSLContext设置为TLS1.0:
```java
SSLContext sslContext = SSLContext.getInstance("TLSv1");
sslContext.init(null, null, null);
HttpsURLConnection.setDefaultSSLSocketFactory(sslContext.getSocketFactory());
```
阅读全文
相关推荐

















