当前位置:网站首页>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.
边栏推荐
- 架构设计指南 如何成为架构师
- Handler消息机制-Native层
- When does MySQL use table locks and when does it use row locks?
- goto语句
- Architectural Design Guide How to Become an Architect
- The introduction of AI meta-learning into neuroscience, the medical effect is expected to improve accurately
- [GO Language Basics] 1. Why do I want to learn Golang and get started with GO language
- golang: Gorm configures Mysql multiple data sources
- interface
- export , export default,import完整用法
猜你喜欢
随机推荐
MYSQL下载及安装完整教程
ARM体系结构概述
物联网网关该怎么选
MySQL题外篇【ORM思想解析】
c语言变量的存储方式和生存期 -考察
this与super
谷粒商城--环境部署(2022/7/28最新)
Ali: How many methods are there for multi-threaded sequential operation?
什么是微服务?
golang: Gorm配置Mysql多数据源
Keil编译大小和存储说明
01 多线程与高并发 - 基础概念
A magical no main method of code
雷总个人博客看到
taro 打包编译报错
架构设计指南 如何成为架构师
Go: go - redis based operation
大飞机C919都用了哪些新材料?
go : 使用gorm修改数据
C# 使用RestSharp 实现Get,Post 请求(2)






![[GO Language Basics] 1. Why do I want to learn Golang and get started with GO language](/img/ac/80ab67505f7df52d92a206bc3dd50e.png)


