On Fri, 2010-12-17 at 14:45 +0100, Gerhard Sinne wrote:
> Hi Oleg,
> may I raise this issue again ? 
> 
> > > > Gerd
> > > > 
> > > > This looks like a SSL protocol compatibility issue. Try using a
> > > > different version of the protocol (SSLv1 or TLSv1) and see if that 
> makes
> > > > any difference.
> 
> I have now found out the correct protocol version (TLSv1) and succeed to 
> connect to 
> this server using WGET and CURL both.  Still no luck with Apache HTTP.
> 

HttpClient does not anything special as far as SSL is concerned. It
fully relies on the standard Java Security API (JSSE) for secure
communication. I presume WGET and CURL are using OpenSSL. It can well be
that the SSL protocol implementation used by the server is not fully
compatible with Oracle JSSE.   

You can find out whether or not JSSE is capable of connecting to the
server at all by using the following test application:

http://hc.apache.org/httpclient-3.x/sslguide.html#Troubleshooting

...

> 
> 
> Looks like a server problem with  Remote host closed connection during 
> handshake. But why then do WGET and CURL work ? 

They use a completely different SSL library.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to