微服务: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,项目可以正常跑起来了。

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM