首页 > 数据库 >【报错】 The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer

【报错】 The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer

时间:2022-10-26 20:15:08浏览次数:83  
标签:Layer java secure driver 报错 security establish

jdk:1.8
sql Driver:6.4.0
解决方法:
JDK目录下的jre\lib\security,打开java.security
找到jdk.tls.disabledAlgorithms,如下图


把3DES_EDE_CBC注释掉。保存,测试成功!
补充说明:开发环境改的是上面路径,实际生产环境修改的是JRE下的java.security
加密算法开启禁用:https://www.java.com/en/configure_crypto.html

标签:Layer,java,secure,driver,报错,security,establish
From: https://www.cnblogs.com/luyj00436/p/16829835.html

相关文章