当前位置:网站首页>解决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安全连接。
边栏推荐
- Ali: How many methods are there for multi-threaded sequential operation?
- assert
- When does MySQL use table locks and when does it use row locks?
- @Bean 与 @Component 用在同一个类上,会怎样?
- MySQL基础篇【命名规范】
- Derivative Operations on Vectors and Derivative Operations on Vector Cross and Dot Products
- 雷总个人博客看到
- C#的访问修饰符,声明修饰符,关键字有哪些?扫盲篇
- MYSQL下载及安装完整教程
- Go 使用mencached缓存
猜你喜欢

MySQL master-slave replication configuration construction, one step in place

The first artificial intelligence safety competition officially launched

LVM and disk quotas

什么是微服务?

MySQL什么时候用表锁,什么时候用行锁?

The calculation proof of the intersection of the space line and the plane and its source code

DNS domain name resolution services

idea built-in translation plugin

阿里二面:Sentinel vs Hystrix 对比,如何选择?

图解关系数据库设计思想,这也太形象了
随机推荐
go : go gin returns JSON data
Detailed explanation of numpy multidimensional array ndarray
Let the "label" content in Baidu map generator expand--solution
The newcomer deleted data by mistake, and the team leader skillfully used MySQL master-slave replication to delay the recovery of losses
使用navicat连接mysql数据库时常报的错误:2003、1698、1251
Go uses freecache for caching
Rodrigues: vector representation of rotation matrices
The calculation and source code of the straight line intersecting the space plane
Electron之初出茅庐——搭建环境并运行第一个程序
Huawei released "ten inventions", including computing, intelligent driving and other new fields
头条二面:MySQL中有几种常见的 SQL 错误用法?
The terminal connection tools, rolling Xshell
Vue2进阶篇-编程式路由导航、缓存路由组件、路由的激活与失活
numpy 多维数组ndarray的详解
从追赶到超越,国产软件大显身手
go : go gin返回JSON数据
MySQL master-slave replication configuration construction, one step in place
Station B collapsed, what would you do if you were the developer in charge that night?
this与super
【雷达目标检测】恒定阈值法和恒虚警(CFAR)法及代码实现