当前位置:网站首页>解决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安全连接。
边栏推荐
猜你喜欢
How does Redis prevent oversold and inventory deduction operations?
Universal js time date format conversion
Redis 如何实现防止超卖和库存扣减操作?
New material under the plastic restriction order - polylactic acid (PLA)
bean的生命周期
深度学习:线性回归模型
让百度地图生成器里的“标注”内容展开--解决方案
预测人们对你的第一印象,“AI颜狗”的诞生
The calculation proof of the intersection of the space line and the plane and its source code
相机坐标系,世界坐标系,像素坐标系三者转换,以及OPENGLDEFocal Length和Opengl 的 Fov转换
随机推荐
How to understand plucker coordinates (geometric understanding)
Boot process and service control
千万级数据量的表,怎样最快速度查询?
识别“数据陷阱”,发现数据的可疑之处
【MySQL】MySQL中如何实现分页操作
go : go-redis set operations
mysql高阶语句(一)
How to use Swagger, say goodbye to postman
Detailed explanation of numpy multidimensional array ndarray
Station B collapsed, what would you do if you were the developer in charge that night?
Calculate the inverse source of the matrix (using the adjoint matrix, a 3x3 matrix)
New material under the plastic restriction order - polylactic acid (PLA)
Linx common directory & file management commands & VI editor usage introduction
Proof of distance calculation from space vertex to plane and its source code
redis实现分布式锁的原理
Hex conversion...
this与super
阿里二面:Sentinel vs Hystrix 对比,如何选择?
MySQL题外篇【ORM思想解析】
这个终端连接工具,碾压Xshell