Trusting all certificates using HttpClient over HTTPS

后端 未结 21 2248
北恋
北恋 2020-11-21 04:50

Recently posted a question regarding the HttpClient over Https (found here). I\'ve made some headway, but I\'ve run into new issues. As with my last problem, I

21条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-21 05:31

    Just adding -Dtrust_all_cert=true to VM arguments should do. This argument tells java to ignore certificate checks.

提交回复
热议问题