The server selected protocol version TLS10 is not accepted by client preferences [TLS12]

修改jre中的这个文件:

# /java/jdk1.8/jre/lib/security/java.security

# jdk.tls.legacyAlgorithms 直接改成下面的这个:

Java 11 \jre\conf\security  java.security

jdk.tls.legacyAlgorithms=SSLv3, RC4, DES, MD5withRSA, \
DH keySize < 1024, EC keySize < 224, anon, NULL, \
include jdk.disabled.nameCurves

 

posted @ 2021-06-08 15:33  笑而不语心自闲  阅读(1133)  评论(0编辑  收藏  举报