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

问题:

报错: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

posted @ 2023-07-05 10:21  香菜哥哥  阅读(41)  评论(0编辑  收藏  举报