commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Sutton <>
Subject RE: HttpClient with SSL
Date Sun, 11 May 2003 22:30:41 GMT
Not really, because it's not going to be useful to you.  The code for SSL
looks identical to the code for not using SSL since HttpClient handles SSL
automatically when you give it a https URL.  I guess you've tried this and
are running into a problem.  The most common cause of this is that you don't
have the right dependencies, in particular you will need JSSE installed (and
possibly JCE but I don't think so).

The other common problem is that with some versions of Java self-signed
certificates are not accepted (there would have been a very informative
message about this).  You'll want to take a look at the code in contrib that
deals with this:

Other than that, I can't really help unless you let me know what's going


Adrian Sutton, Software Engineer
Ephox Corporation 

-----Original Message-----
From: Afshartous, Nick []
Sent: Saturday, 10 May 2003 5:26 AM
To: ''
Subject: HttpClient with SSL


Does anyone have an example of how to use
HttpClient w/SSL ?  Thanks.


View raw message