当前位置:网站首页>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.
边栏推荐
- 这个终端连接工具,碾压Xshell
- How to calculate the daily cumulative capital flow one by one in real time
- [GO语言基础] 一.为什么我要学习Golang以及GO语言入门普及
- go : delete database data using grom
- 识别“数据陷阱”,发现数据的可疑之处
- Link with Bracket Sequence II(杭电多校赛)
- MySQL基础篇【命名规范】
- 千万级数据量的表,怎样最快速度查询?
- 获取controller中所有接口路径和名称
- 解决datagrip连接sqlserver报错:[08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。
猜你喜欢
WinForm(一):开始一个WinForm程序
Boot process and service control
C language custom types, rounding
【雷达目标检测】恒定阈值法和恒虚警(CFAR)法及代码实现
How to understand plucker coordinates (geometric understanding)
五号黯区靶场 mysql 注入之limit注入记录
Go 使用 freecache 缓存
从追赶到超越,国产软件大显身手
Ali two sides: List several tips for Api interface optimization
识别“数据陷阱”,发现数据的可疑之处
随机推荐
this与super
Boot process and service control
Ali two sides: Sentinel vs Hystrix comparison, how to choose?
Go combines Gin to export Mysql data to Excel table
Goto statements
Playing script killing with AI: actually more involved than me
从追赶到超越,国产软件大显身手
C language custom types, rounding
Go: go - redis based operation
2020 ACM | MoFlow: An Invertible Flow Model for Generating Molecular Graphs
Develop common tool software
Basic usage of tree arrays
The first artificial intelligence safety competition officially launched
Is it possible to use the same port for UDP and TCP?
go : go-redis set operations
Vue项目通过node连接MySQL数据库并实现增删改查操作
雷总个人博客看到
人工肌肉智能材料新突破
解决datagrip连接sqlserver报错:[08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。
The calculation and source code of the straight line intersecting the space plane