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

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

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


        
7条回答
  •  眼角桃花
    2020-12-08 07:04

    You can get this if the client specifies "https" but the server is only running "http". So, the server isn't expecting to make a secure connection.

提交回复
热议问题