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

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞 / 2024-04-25 / 原文

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

 

编辑java.security 文件,修改安全协议的配置即可。 删掉这两个:TLSv1、TLSv1.1

RUN  bash -c 'sed -i "1,$ s/ TLSv1, TLSv1.1,//g" /usr/local/openjdk-8/lib/security/java.security'