hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ADEL...@jam.rr.com
Subject Re: Can't get httpclient to work for SSL
Date Tue, 15 Nov 2005 21:32:39 GMT
I believe that the SSL libraries weren't included with the JDK until JDK
1.4.  I'm guessing you need to download those libraries separately for
JDK versions below 1.4.

----- Original Message -----
From: "Sharma, Siddharth" <Siddharth.Sharma@Staples.com>
Date: Tuesday, November 15, 2005 3:19 pm
Subject: Can't get httpclient to work for SSL

> Hi
> 
> I have written the code that uses HTTPClient to communicate with a web
> server and it works when I use http, but fails when I use https.
> 
> I get the error 
> java.net.SocketException: SSL implementation not available
> 
> Before the request is posted, there is code that sets up JSSE in the
> following manner:
> 
> Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
> System.setProperty("java.protocol.handler.pkgs",
>                   "com.sun.net.ssl.internal.www.protocol");
> 
> I tried using both Sun's and IBM's JSSE implementation but it did 
> not work.
> What am I missing?
> I am using IBM JDK 1.3.1.
> 
> If this should be a JSSE forum post, I apologize.
> 
> Thanks in advance
> Sid
> 
> 
> --------------------------------------------------------------------
> -
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-
> help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message