连接MySQl报错 Caused by: java.security.cert.CertificateException

今天连接了一下服务器上的数据库,发现报错 Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors

原来是是因为使用了useSSL=true,改为useSSL=false就可以正常访问了。



猜你喜欢

转载自blog.csdn.net/sikefeng/article/details/80200540