当前位置:网站首页>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.
边栏推荐
- sizeof
- What are the access modifiers, declaration modifiers, and keywords in C#?Literacy articles
- redis实现分布式锁的原理
- node.js中实现对数据库的链式操作
- MySQL master-slave replication configuration construction, one step in place
- The first artificial intelligence safety competition officially launched
- 云服务器零基础部署网站(保姆级教程)
- 深度学习:线性回归模型
- go : go-redis set operations
- Hex conversion...
猜你喜欢

ARM体系结构概述

golang : Zap log integration

深度学习:线性回归模型

【雷达目标检测】恒定阈值法和恒虚警(CFAR)法及代码实现

AI可通过X光片识别种族,但没人知道为什么
获取controller中所有接口路径和名称

Is it possible to use the same port for UDP and TCP?

2020 ACM | MoFlow: An Invertible Flow Model for Generating Molecular Graphs

Go uses the mencached cache

Playing script killing with AI: actually more involved than me
随机推荐
What are the access modifiers, declaration modifiers, and keywords in C#?Literacy articles
2020 数学建模之旅
WinForm(一):开始一个WinForm程序
Monkey and Banana
Go 结合Gin导出Mysql数据到Excel表格
什么是微服务?
使用navicat连接mysql数据库时常报的错误:2003、1698、1251
window.open()的用法,js打开新窗体
DNS domain name resolution services
Go语学习笔记 - gorm使用 - 数据库配置、表新增 Web框架Gin(七)
Derivative Operations on Vectors and Derivative Operations on Vector Cross and Dot Products
go : go gin返回JSON数据
Redis 如何实现防止超卖和库存扣减操作?
What new materials are used in the large aircraft C919?
02 多线程与高并发 - synchronized 解析
和AI一起玩儿剧本杀:居然比我还入戏
从 Google 离职,前Go 语言负责人跳槽小公司
UDP和TCP使用同一个端口,可行吗?
go : create database records using gorm
[硬核干货]由0到1,突破信息系统项目管理师(呕心沥血经验之谈)!!!