当前位置:网站首页>解决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安全连接。
边栏推荐
- Vue项目通过node连接MySQL数据库并实现增删改查操作
- Headline 2: there are several kinds of common SQL errors in MySQL usage?
- Ali two sides: Sentinel vs Hystrix comparison, how to choose?
- Rodrigues: vector representation of rotation matrices
- 理解和熟悉递归中的尝试
- 相机坐标系,世界坐标系,像素坐标系三者转换,以及OPENGLDEFocal Length和Opengl 的 Fov转换
- go : create database records using gorm
- Go: use gorm query record
- ETL为什么经常变成ELT甚至LET?
- Goto statements
猜你喜欢

AI元学习引入神经科学,医疗效果有望精准提升

Electron之初出茅庐——搭建环境并运行第一个程序

No, the Log4j vulnerability hasn't been fully fixed yet?

Distance calculation from space vertex to straight line and its source code

C#的访问修饰符,声明修饰符,关键字有哪些?扫盲篇

专访蚂蚁:这群技术排头兵,如何做好底层开发这件事?| 卓越技术团队访谈录

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

uniapp中canvas与v-if更“配”

Proof of distance calculation from space vertex to plane and its source code

The Society of Mind - Marvin Minsky
随机推荐
手机端滚动至页面指定位置
首届人工智能安全大赛正式启动
PXE efficient mass network capacity
入选“十大硬核科技”,详解可信密态计算(TECC)技术点
DNS domain name resolution services
sql concat()函数
The calculation proof of the intersection of the space line and the plane and its source code
相机坐标系,世界坐标系,像素坐标系三者转换,以及OPENGLDEFocal Length和Opengl 的 Fov转换
让百度地图生成器里的“标注”内容展开--解决方案
包含min函数的栈(js)
MYSQL下载及安装完整教程
ETL为什么经常变成ELT甚至LET?
idea built-in translation plugin
Go: use gorm query record
golang : Zap log integration
限塑令下的新材料——聚乳酸(PLA)
从 Google 离职,前Go 语言负责人跳槽小公司
No, the Log4j vulnerability hasn't been fully fixed yet?
头条二面:MySQL中有几种常见的 SQL 错误用法?
MySQL基础篇【命名规范】