how to make Unirest(java) ignore certificate error

后端 未结 5 1814
无人及你
无人及你 2021-02-04 07:42

I am using Unirest (java version) to make GET and POST request.But I encounter a problem when accessing SSL encrypted site , since my program is behind a corporate network and t

5条回答
  •  花落未央
    2021-02-04 08:07

    I'm using "com.konghq:unirest-java:2.3.14“

    There is a config now

    Unirest.config().verifySsl(false);
    

提交回复
热议问题