当前位置:网站首页>解决datagrip连接sqlserver报错:[08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。
解决datagrip连接sqlserver报错:[08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。
2022-07-30 05:55:00 【atwdy】
报错信息
[08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“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.
解决
修改连接的URL,原来的是jdbc:sqlserver://ip:port,
替换jdbc:sqlserver://ip:port;encrypt=true;trustServerCertificate=true,
或者jdbc:sqlserver://ip:port;encrypt=false
上面是通过SSL连接,下面是不使用SSL安全连接。
边栏推荐
- export , export default, import complete usage
- 阿里二面:Sentinel vs Hystrix 对比,如何选择?
- sizeof
- MYSQL下载及安装完整教程
- sql concat()函数
- 理解和熟悉递归中的尝试
- Headline 2: there are several kinds of common SQL errors in MySQL usage?
- The usage of window.open(), js opens a new form
- What are the access modifiers, declaration modifiers, and keywords in C#?Literacy articles
- golang: Gorm configures Mysql multiple data sources
猜你喜欢
随机推荐
export , export default, import complete usage
从 Google 离职,前Go 语言负责人跳槽小公司
Linx common directory & file management commands & VI editor usage introduction
适合程序员的输入法
雷总个人博客看到
便携小风扇PD取电芯片
Graphical relational database design ideas, this is too vivid
assert
【MySQL】MySQL中如何实现分页操作
MySQL off-topic [ORM thought analysis]
Go 使用mencached缓存
The calculation and source code of the straight line intersecting the space plane
STL源码剖析:临时对象的代码测试和理解
Develop common tool software
手机端滚动至页面指定位置
Electron之初出茅庐——搭建环境并运行第一个程序
How does Redis prevent oversold and inventory deduction operations?
MySQL题外篇【ORM思想解析】
Hex conversion...
golang: Gorm configures Mysql multiple data sources









