当前位置:网站首页>解决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安全连接。
边栏推荐
- this and super
- Graphical relational database design ideas, this is too vivid
- Go 使用mencached缓存
- 包含min函数的栈(js)
- idea built-in translation plugin
- go : 使用gorm查询记录
- Proof of distance calculation from space vertex to plane and its source code
- 限塑令下的新材料——聚乳酸(PLA)
- Pioneer in Distributed Systems - Leslie Lambert
- schur completement
猜你喜欢

【MySQL】MySQL中如何实现分页操作

Ali Ermian: How many cluster solutions does Redis have?I answered 4

idea built-in translation plugin

万能js时间日期格式转换

Go combines Gin to export Mysql data to Excel table

Go 使用 freecache 缓存

Redis 如何实现防止超卖和库存扣减操作?

Ali two sides: List several tips for Api interface optimization

New breakthrough in artificial muscle smart materials

MySQL master-slave replication configuration construction, one step in place
随机推荐
Universal js time date format conversion
go : go-redis list操作
ArrayList
go : use gorm to modify data
Detailed explanation of numpy multidimensional array ndarray
sizeof
@Bean 与 @Component 用在同一个类上,会怎样?
这个终端连接工具,碾压Xshell
The calculation proof of the intersection of the space line and the plane and its source code
Ali two sides: Sentinel vs Hystrix comparison, how to choose?
Redis 如何实现防止超卖和库存扣减操作?
雷总个人博客看到
golang: Gorm配置Mysql多数据源
The Society of Mind - Marvin Minsky
The calculation and source code of the straight line intersecting the space plane
Hex conversion...
redis实现分布式锁的原理
Develop common tool software
分布式系统中的开创者—莱斯利·兰伯特
Ali Ermian: How many cluster solutions does Redis have?I answered 4