hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Date Sun, 14 Apr 2013 15:07:32 GMT
A note about this:
-Dhttps.protocols=SSLv3

fixes issue for Java Implementation.

So it seems the server only supports SSLv3, attempt to negotiate upwards
from v2 to v3 seems not to be supported by server.

To fix it for HC family it seems we need to call:

   -  socket.setEnabledProtocols(new String[] { "SSLv3" });

Is there a better way to fix this ?


Thanks

Regards
Philippe

On Sun, Apr 14, 2013 at 3:50 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Hello ,
>
> We had a report recently on JMeter project:
>
>    - https://issues.apache.org/bugzilla/show_bug.cgi?id=54759
>
>
> Investigations didn't help us solve issue that seems to occur on this
> particular website:
>
>  https://clui.xstratacoal.com.au
>
> And even with JAVA Pure API.
>
> See the 2 snippet attached to the bug inspired from:
>
>    -
>    http://javaskeleton.blogspot.fr/2010/07/avoiding-peer-not-authenticated-with.html
>    -
>    http://javaskeleton.blogspot.fr/2011/01/avoiding-sunsecurityvalidatorvalidatore.html
>
>
> Any ideas about this ?
>
> Thanks
>
> Regards
>
> Philippe
>
>


-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message