异常:JDK11报The server selected protocol version TLS10 is not accepted by client preferences [TLS12]

描述:正式环境连接sqlserver异常
解决方法

cd C:\***\jdk-11.0.1\conf\security

异常:JDK11报The server selected protocol version TLS10 is not accepted by client preferences [TLS12]_第1张图片
如上图,注释掉jdk.tls.legacyAlgorithms即可

你可能感兴趣的:(数据库,开发小技巧,异常处理)