微服务:Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors 异常

今天重构项目出现 Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors 异常

原来使用了在数据库连接时使用了 userSSL 参数,将sueSSL = true 改为 useSSL = false,项目可以正常跑起来了。

 

 

posted @ 2020-03-24 19:06  大大大圣  阅读(3204)  评论(0)    收藏  举报