环境
DataGrip 2022.1
SQLSERVER 2008
问题
DataGrip 连接SQLSERVER时提示(DataGrip2020则没问题):
[08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]”。 ClientConnectionId:c1786b6e-d483-426f-ac09-0f0b5059a8b6 The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12].
解决
修改DataGrip安装目录下的\jbr\conf\security\java.security文件:
找到jdk.tls.disabledAlgorithms配置项,将TLSv1, TLSv1.1删除保存并重启DataGrip
修改前

修改后
