原文:Certificate for doesn't match any of the subject alternative names: [xx.xxxx.xxxx.com]

用HttpClient發送Https請求報SSLException: Certificate for lt 域名 gt doesn t match any of the subject alternative names問題的解決,報錯,如下所示: 使用Apache HttpClient做https的Post請求,調用代碼就報上面的錯誤。 可以參考鏈接:https: stackoverflow. ...

2021-08-25 15:56 0 208 推薦指數:

查看詳情

自簽證書 doesn't match any of the subject alternative names

出現這個的原因是https中的域名或者IP,與證書中登記的不一致。 如果是自簽證書的話,可以根據具體需要重新生成證書。 還有一種解決方案是在java中跳過這個檢查。 繞過檢查分兩類,一個是繞過證 ...

Thu Dec 27 00:03:00 CST 2018 0 1965
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM