報(bào)的錯(cuò)誤信息如下:
[08S01] 驅(qū)動(dòng)程序無法通過使用安全套接字層(SSL)加密與 SQL Server 建立安全連接。錯(cuò)誤:“PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”。 ClientConnectionId:721941c7-3e08-4e80-bc56-418e1c051624 sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
原來只需要一個(gè)設(shè)置就行了,如下圖,只需要設(shè)置 trustServerCertificate 即可解決問題。文章來源:http://www.zghlxwxcb.cn/news/detail-526720.html
文章來源地址http://www.zghlxwxcb.cn/news/detail-526720.html
到了這里,關(guān)于問題解決:idea 中無法連接 sql server 數(shù)據(jù)庫,報(bào)錯(cuò) [08S01] 驅(qū)動(dòng)程序無法通過使用安全套接字層(SSL)加密與 SQL Server 建立安全連接的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!