当前位置:网站首页>解决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安全连接。
边栏推荐
- Go 使用 freecache 缓存
- AI can identify race from X-rays, but no one knows why
- Rodrigues: vector representation of rotation matrices
- Go语学习笔记 - gorm使用 - 数据库配置、表新增 Web框架Gin(七)
- golang: Gorm配置Mysql多数据源
- VR机器人教你如何正确打乒乓球
- Table with tens of millions of data, how to query the fastest?
- MySQL master-slave replication configuration construction, one step in place
- Required request body is missing problem solving
- 头条二面:MySQL中有几种常见的 SQL 错误用法?
猜你喜欢

Rodrigues: vector representation of rotation matrices

The Geometric Meaning of Vector Cross Product and the Calculation of Modulus

Detailed explanation of numpy multidimensional array ndarray

Playing script killing with AI: actually more involved than me

bean的生命周期

The CTO said I was not advised to use SELECT *, why is that?

VR机器人教你如何正确打乒乓球

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

export , export default,import完整用法

MYSQL下载及安装完整教程
随机推荐
Electron中设置菜单(Menu),主进程向渲染进程共享数据
node.js中实现对数据库的链式操作
No, the Log4j vulnerability hasn't been fully fixed yet?
What new materials are used in the large aircraft C919?
go : 使用gorm查询记录
go : delete database data using grom
@Bean 与 @Component 用在同一个类上,会怎样?
头条二面:MySQL中有几种常见的 SQL 错误用法?
Pioneer in Distributed Systems - Leslie Lambert
Go uses the mencached cache
MySQL master-slave replication configuration construction, one step in place
The usage of window.open(), js opens a new form
New material under the plastic restriction order - polylactic acid (PLA)
Hex conversion...
Headline 2: there are several kinds of common SQL errors in MySQL usage?
千万级数据量的表,怎样最快速度查询?
首届人工智能安全大赛正式启动
DNS domain name resolution services
Keil编译大小和存储说明
go : go-redis list操作