微服務: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