报错信息:
java.sql.SQLException: Cannot create PoolableConnectionFactory (The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target". ClientConnectionId:131db81a-2f40-4996-8c59-77e635d32ec0)
JMeter 版本:5.5
JDK 信息:
openjdk 11.0.15 2022-04-19 LTS
OpenJDK Runtime Environment Microsoft-32930 (build 11.0.15+10-LTS)
OpenJDK 64-Bit Server VM Microsoft-32930 (build 11.0.15+10-LTS, mixed mode)
JDBC 连接配置:
换用 Oracle JDK 8、11,也有同样的问题。