当前位置:   article > 正文

驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“PKIX path building failed: sun.security.provider.cert_连接数据库时报错pkix path building failed

连接数据库时报错pkix path building failed

当我使用DataGrip连接SqlServer数据库的时候,进行测试连接,结果报错:驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”。

这种原因,百度了一下,可能是SSL问题,或者是驱动问题。

然后这个驱动无论换了哪个版本都不可以,后来查了资料,结果是换成jTds的就可以了

大家连接的时候一定先试试先换驱动

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/791133
推荐阅读
相关标签
  

闽ICP备14008679号