原文:微服務: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,項目可以正常跑起來了。 ...

2020-03-24 19:06 0 1709 推薦指數:

查看詳情

java.security.cert.CertificateException: No subject alternative names present

背景:在開發一個項目中,要調用一個webservice服務,之前設置的是http協議,項目中采用jdk自帶的wsimport工具生成的客戶端代碼; 后來,需求變更要求兼容https協議的webservice,開始以為只需要簡單的將服務地址的連接改為https就可以了;但不行,總是報錯 ...

Fri Oct 30 03:19:00 CST 2015 0 16713
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM