[erlang-bugs] ssl handshake failure on R14A (and git)

Ingela Anderton Andin ingela@REDACTED
Mon Aug 30 16:16:38 CEST 2010


Hi!

We have located this bug and fixed it, it has to do with the fact that 
your server sends
several handshake protocol messages in the same TLS record protocol 
message, which is fine
and allowed but not all servers do. We had to move some of our code 
hinger up in our model to properly
handle this. We will push this to the public repository soon but due to 
some failing test cases it may be a couple
of days.

Regards Ingela Erlang/OTP team - Ericsson AB

Nicolas Niclausse wrote:
> I'm not able to connect to a server using ssl v4.0 (R14A) and up (current git)
>
> Erlang R14B (erts-5.8.1) [source] [64-bit] [smp:2:2] [rq:2]
> [async-threads:0] [hipe] [kernel-poll:false]
>
> 4> ssl:connect("jabber.grid5000.fr",5223,[]).
>
> =ERROR REPORT==== 24-Aug-2010::10:56:37 ===
> SSL: hello: ./ssl_handshake.erl:830:Fatal error: handshake failure
> {error,esslconnect}
>
> but it works with old ssl:
>
> 5> ssl:connect("jabber.grid5000.fr",5223,[{ssl_imp,old}]).
> {ok,{sslsocket,5,<0.57.0>}}
>
>   



More information about the erlang-bugs mailing list