解決調用第三方API報sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provid

1.最近在調用第三方API遇到證書驗證問題   postman調用和用RestTemplate分別報錯如下: 2.經過查詢資料  是https,需要安裝證書,但是自定義的證書貌似得不到信任,所以報PKIX path building failed     解決辦法分別如下:postman解決方法如下:       3.再次用postman調用  就可以了  :     4.用RestTemplat
相關文章
相關標籤/搜索