Exception : javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

前端 未结 7 2319
时光取名叫无心
时光取名叫无心 2020-12-08 06:06
public HttpClientVM() {

    BasicHttpParams params = new BasicHttpParams();
    ConnManagerParams.setMaxTotalConnections(params, 10);
    HttpProtocolParams.setVers         


        
相关标签:
7条回答
  • 2020-12-08 07:06

    if you are in dev mode with not valid certificate, why not just set weClient.setUseInsecureSSL(true). works for me

    0 讨论(0)
提交回复
热议问题