alibaba / ali-dbhub

已迁移新仓库,此版本将不再维护
8.31k stars 1.29k forks source link

unable to find valid certification path to requested target: null #139

Closed GZ521 closed 1 year ago

GZ521 commented 1 year ago

连接 内网sql_server 点击连接测试时报 【unable to find valid certification path to requested target: null】 连接不上,如何修正呢 日志如下: 2023-05-18 11:25:40.315 [http-nio-127.0.0.1-10824-exec-4] INFO c.a.d.s.w.a.a.BusinessExceptionHandler - proceed begin:com.alibaba.dbhub.server.web.api.controller.data.source.DataSourceControllerpreConnect ,param:[{"alias":"@xxxx","extendInfo":[],"host":"xxxx","password":"","port":"1433","ssh":{"password":"","use":false,"userName":""},"type":"SQLSERVER","url":"jdbc:sqlserver://xxxx:1433;","user":"xxx"}] 2023-05-18 11:25:40.461 [http-nio-127.0.0.1-10824-exec-4] INFO c.a.d.s.w.a.a.BusinessExceptionHandler - proceed end:com.alibaba.dbhub.server.web.api.controller.data.source.DataSourceControllerpreConnect, result:{"errorCode":"unable to find valid certification path to requested target","success":false}, cost:146

Chat2DB-Pro commented 1 year ago

📦 体验 Chat2DB

Chat2DB 已经升级至 2.0.12 版本: 已经迁移到新仓库:https://github.com/chat2db/Chat2DB

2.x新特性

快去新仓库体验吧 Chat2DB 2.0,记得帮点个star额。

DEMO

https://github.com/chat2db/Chat2DB/assets/22975773/79e9dded-375b-44cf-9979-bb7572465a2e