hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Om Narayan" <...@hotmail.com>
Subject Re: Httpclient under weblogic 7.0
Date Wed, 28 May 2003 04:24:09 GMT
I am connecting to a well known site (www.dell.com!!!) and as seen from the
trace, if I use the weblogic classes, I can make the https connection
without any problem, but not when using the httpclient classes. So unless
these two implementations are using different cacerts files (weblogic uses
the one under weblogic700/server/lib directory), the behaviour is hard to
explain....maybe the httpclient uses cacerts file from jre/lib/security
directory....I will check it out.

regards,
Om.

----- Original Message -----
From: "Adrian Sutton" <adrian@intencha.com>
To: "Commons HttpClient Project" <commons-httpclient-dev@jakarta.apache.org>
Sent: Tuesday, May 27, 2003 8:31 PM
Subject: Re: Httpclient under weblogic 7.0


> Bingo! :)  You're using a self-signed certificate or at least a SSL
> certificate that isn't trusted by Weblogic.  Take a look at the easy
> trust manager in the contrib directory, you may have to adapt it for
> Weblogic's SSL implementation, I'm not sure.
>
> The code is at:
>
> http://cvs.apache.org/viewcvs/jakarta-commons/httpclient/src/contrib/
> org/apache/commons/httpclient/contrib/ssl/
>
> Not sure why it showed up as HttpClient hanging though as it's clearly
> throwing an exception but HttpClient seems to be ignoring that and
> trying to read from the socket anyway.  I'll have to run some tests to
> see what's going on there.  Either way, Vamsi's advice on adding the
> cert to your trusted keystore or the use of the Easy TrustManager
> should fix the problem for you.
>
> Regards,
>
> Adrian Sutton.
> On Wednesday, May 28, 2003, at 12:25  PM, Om Narayan wrote:
>
> > Exception while writing data <java.io.IOException: Write Channel
> > Closed,
> > possi
> > ble SSL handshaking or trust failure
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
commons-httpclient-dev-help@jakarta.apache.org
>
>

Mime
View raw message