See their guide on Using SSL , from what I can tell, this is the same HttpClient 4.x, except that it uses a slightly different 4.x syntax (see an example of this syntax ). In other words, if you changed “http” in this example to “https”, this will work fine. If you looked at this tutorial , I can understand why you think this is harder than necessary. However, this is only necessary if the root certificate of the site you are trying to access is not a accepted JVM certificate.
, do, , . , , curl, , , , , , .
, HttpClient, ?
, , , . , , :— , , , , , . , , , .
, HttpClient, , , , - .
: , , . , - JDK.