Apache HTTPClient SSLPeerUnverifiedException

后端 未结 2 1037
逝去的感伤
逝去的感伤 2020-11-29 04:48

Using Apache HttpClient 4.2.1. Using code copied from the form based login example

http://hc.apache.org/httpcomponents-client-ga/examples.html

I get an excep

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 05:15

    Create a custom context so you can log why the cert is invalid. Or just debug into it.

提交回复
热议问题