当前位置:网站首页>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.
边栏推荐
猜你喜欢

02 多线程与高并发 - synchronized 解析

Mybitatis相关配置文件

如何实时计算日累计逐单资金流

Interview with Ant: How do these technology pioneers do the bottom-level development well?| Excellent technical team interview

DP5340国产替代CM5340立体声音频A/D转换器芯片

Go uses freecache for caching

ARM体系结构概述

bean的生命周期

C# 使用RestSharp 实现Get,Post 请求(2)

C# 获取系统已安装的.NET版本
随机推荐
IDEA search plug-in has no results and the solution has been spinning in circles
Playing script killing with AI: actually more involved than me
go : go gin返回JSON数据
go : go-redis 基础操作
ArrayList
this与super
ArrayList
Get all interface paths and names in the controller
Mybitatis相关配置文件
What happens when @Bean and @Component are used on the same class?
【MySQL】MySQL中如何实现分页操作
和AI一起玩儿剧本杀:居然比我还入戏
Interview with Ant: How do these technology pioneers do the bottom-level development well?| Excellent technical team interview
interface
selenium module
五号黯区靶场 mysql 注入之limit注入记录
assert
golang: Gorm配置Mysql多数据源
Upload file -- file type, picture type, document type, video type, compressed package type
分布式锁开发