javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10……

发布时间 2023-07-05 10:32:19作者: 香菜哥哥

问题:

报错:javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10 is not accepted by client preferences [TLS12]

解决方式:

1、修改%JAVA_HOME%/jre/lib/security/java.security
2、修改内容:jdk.tls.disabledAlgorithms删除TLSv1
3、删除前:

 

https://code84.com/138083.html