[erlang-bugs] ssl_connection crash on client connect w/o certificte

Sergey Shilov <>
Fri Jun 3 11:33:10 CEST 2011


Hi all !

If clean Client (b.e. Cromium w/o any certificate ) requested a connection  to 
a SSl server ( "Yaws" frontend in my case),  the ssl_connection  crashed with 
report:

=CRASH REPORT==== 3-Jun-2011::00:04:10 ===
  crasher:
    initial call: ssl_connection:init/1
    pid: <0.127.0>
    registered_name: []
    exception exit: {function_clause,
                     [{ssl_connection,handle_alert,
                       [{alert,1,41,{"./ssl_connection.erl",1632}},
                        certify,
                        {state,server,
                         {#Ref<0.0.0.265>,<0.126.0>},
...
...
...


The  SSL alerts with number 41 (no certificate) is  not defined in ssl_alert.hrl 
and not handled by any of the ssl_connection:handle_alert implementations.
  
Maybe this is a Bug?


-- 
V.B.R Sergey Shilov.


More information about the erlang-bugs mailing list