当前位置:网站首页>Fix datagrip connection sqlserver error: [08S01] The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption.
Fix datagrip connection sqlserver error: [08S01] The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption.
2022-07-30 08:10:00 【atwdy】
Error message
[08S01] The driver was unable to establish a secure connection to SQL Server using Secure Sockets Layer (SSL) encryption.Error: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target".ClientConnectionId:b2da3dfa-68f1-4bdb-a10f-7bca2e0887a3
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
Solution
Modify the connection URL, the original is jdbc:sqlserver://ip:port,
replace jdbc:sqlserver://ip:port;encrypt=true;trustServerCertificate=true,
or jdbc:sqlserver://ip:port;encrypt=false
The above is a connection via SSL, and the bottom is a secure connection without SSL.
边栏推荐
- Playing script killing with AI: actually more involved than me
- Go 使用 freecache 缓存
- 这个终端连接工具,碾压Xshell
- 使用navicat连接mysql数据库时常报的错误:2003、1698、1251
- sql concat()函数
- redis实现分布式锁的原理
- BGP:边界网关路由协议 无类别的路径矢量EGP协议
- The introduction of AI meta-learning into neuroscience, the medical effect is expected to improve accurately
- 一段神奇的没有主方法的代码
- ETL为什么经常变成ELT甚至LET?
猜你喜欢
随机推荐
便携小风扇PD取电芯片
Monkey and Banana
Ali Ermian: How many cluster solutions does Redis have?I answered 4
Calculate the inverse source of the matrix (using the adjoint matrix, a 3x3 matrix)
How to calculate the daily cumulative capital flow one by one in real time
selenium module
go : go-redis set操作
Keil软件中map文件解析
golang : Zap log integration
Get all interface paths and names in the controller
五号黯区靶场 mysql 注入之limit注入记录
How to use Swagger, say goodbye to postman
taro 打包编译报错
SkiaSharp 之 WPF 自绘 拖曳小球(案例版)
LSF提交作业命令--bsub
【COCI 2020/2021 Round #2 D】Magneti(DP)
如何实时计算日累计逐单资金流
go : delete database data using grom
Mybitatis相关配置文件
ETL为什么经常变成ELT甚至LET?







