我的报错信息如下:
[08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“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.
解决方案一:
修改trustServerCertifcte的value属性为true
解决方案二:
jdk8解决方案:
【Java】驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接_kida_yuan的博客-CSDN博客
JDK版本 、JDBC 版本、以及数据库的版本不对应解决