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 直接改成下面的这个:

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

然后重启系统,测试可以了;

posted @ 2021-05-10 18:45  IT_小树  阅读(13546)  评论(0编辑  收藏  举报