ssl_handshake error

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

ssl_handshake error

carlhoerberg
With RabbitMQ 3.3.0 we sometimes see error like this:


=ERROR REPORT==== 27-Apr-2014::06:39:41 ===
** State machine <0.26091.64> terminating
** Last message in was {tcp,#Port<0.1031851>,
                            <<22,3,1,3,76,1,0,3,72,3,1,83,92,166,69,69,90,65,
                              88,67,81,73,70,84,69,70,65,88,70,82,69,87,75,82,
                              72,73,81,80,73,76,66,78,69,0,2,214,0,107,0,80,
                              192,26,0,25,192,10,0,9,0,50,0,192,192,66,192,48,
                              192,93,0,119,0,82,0,132,0,158,0,168,0,22,0,47,0,
                              60,0,26,192,57,0,92,192,81,0,193,192,21,0,176,0,
                              105,0,103,204,21,0,154,0,114,0,74,192,51,0,42,0,
                              66,0,97,192,79,0,68,0,171,0,34,0,186,0,163,0,53,
                              0,17,192,163,254,254,0,181,0,166,0,79,192,1,0,
                              77,0,0,0,54,0,126,0,130,192,146,192,140,0,156,
                              192,127,0,165,0,84,0,73,192,85,0,91,192,133,0,
                              89,192,61,192,43,192,136,0,102,0,44,192,56,192,
                              137,192,78,0,13,192,30,0,35,0,39,0,61,0,41,192,
                              9,0,36,0,86,0,195,0,37,192,67,0,11,192,74,0,32,
                              0,81,192,91,0,48,0,180,192,80,0,21,0,100,0,14,0,
                              187,0,23,0,191,0,108,0,153,192,170,192,33,192,
                              134,0,6,204,20,192,12,0,137,0,115,192,24,192,
                              147,0,150,192,71,192,105,0,98,192,97,192,126,0,
                              49,0,143,0,69,0,135,0,185,192,99,0,10,192,22,
                              192,111,0,138,192,40,0,148,0,64,192,158,192,25,
                              0,83,0,75,192,124,0,191,0,1,0,2,192,32,0,141,
                              192,37,192,4,0,101,0,24,0,28,254,255,204,19,0,
                              179,0,134,192,171,0,109,192,169,192,168,192,167,
                              0,4,0,140,192,58,192,14,192,52,0,85,192,165,0,
                              116,0,188,192,162,192,161,192,156,192,62,192,
                              160,192,159,0,104,192,44,192,139,192,155,192,3,
                              192,154,192,138,192,153,192,92,192,15,0,45,0,62,
                              0,72,0,175,162,152,0,40,192,49,192,151,0,90,192,
                              150,0,121,192,148,0,147,4,128,192,145,192,144,
                              192,143,192,142,0,124,192,141,192,135,192,83,
                              192,131,0,129,192,130,192,129,192,128,192,125,
                              192,123,0,169,0,167,192,122,0,30,192,121,0,145,
                              192,119,192,75,192,118,0,43,0,3,192,117,0,18,0,
                              161,0,87,192,11,192,114,0,71,192,113,192,112,
                              192,110,0,63,192,109,192,108,0,125,192,107,0,16,
                              192,106,192,45,0,8,0,139,192,103,192,8,192,102,
                              0,19,0,173,192,101,192,100,192,82,192,98,192,63,
                              0,57,0,33,0,88,192,13,192,96,0,155,192,94,192,
                              76,0,157,192,90,192,89,192,88,0,20,192,87,192,
                              86,192,72,192,132,0,162,2,55,192,73,0,38,192,84,
                              0,136,192,70,192,69,192,36,0,7,192,68,192,65,
                              192,64,192,60,0,197,192,59,192,55,192,54,192,53,
                              192,50,192,47,0,31,192,46,192,42,1,99,192,29,
                              192,34,0,182,192,35,192,39,192,31,192,41,192,28,
                              192,27,0,5,192,23,192,20,192,19,0,59,192,18,192,
                              17,192,16,0,146,192,115,0,178,192,7,192,6,192,5,
                              192,2,0,196,0,12,0,194,0,255,0,189,0,190,192,
                              164,0,184,0,183,192,38,0,177,0,58,0,174,0,172,0,
                              78,0,164,192,77,0,160,0,70,0,29,0,142,0,149,192,
                              120,0,144,0,106,0,152,192,166,192,104,192,157,0,
                              15,0,131,192,149,0,120,0,65,0,133,0,96,0,56,192,
                              116,0,170,0,76,0,159,0,67,192,95,0,52,0,51,0,46,
                              0,27,1,0,0,73,0,11,0,4,3,0,2,1,0,15,0,1,1,0,10,
                              0,56,0,54,0,24,0,11,0,16,0,6,0,1,0,13,0,5,0,4,0,
                              2,0,12,255,2,0,14,255,1,0,25,0,3,0,9,0,20,0,23,
                              0,15,0,19,0,21,0,7,1,17,0,8,0,22,0,10,0,18>>}
** When State == hello
**      Data  == {state,server,
                     {#Ref<0.0.61.108794>,<0.25489.64>},
                     gen_tcp,tls_connection,tcp,tcp_closed,tcp_error,
                     "localhost",15672,#Port<0.1031851>,
                     {ssl_options,undefined,
                         [{3,3},{3,2},{3,1},{3,0}],
                         verify_none,
                         {#Fun<ssl.1.97315703>,[]},
                         false,false,undefined,1,<<"/etc/rabbitmq/cert.pem">>,
                         undefined,<<"/etc/rabbitmq/cert.pem">>,undefined,
                         undefined,undefined,<<"/etc/rabbitmq/ca.pem">>,
                         undefined,undefined,undefined,undefined,undefined,
                         [<<192,17>>,<<192,19>>,<<0,5>>,<<0,47>>],
                         #Fun<ssl.0.97315703>,true,268435456,true,undefined,
                         undefined,false,undefined,undefined,true,undefined},
                     {socket_options,binary,0,0,0,false},
                     {connection_states,
                         {connection_state,
                             {security_parameters,
                                 <<0,0>>,
                                 0,0,0,0,0,0,0,0,0,0,0,undefined,undefined,
                                 undefined,undefined},
                             undefined,undefined,undefined,undefined,0,
                             undefined,undefined,undefined},
                         {connection_state,
                             {security_parameters,undefined,0,undefined,
                                 undefined,undefined,undefined,undefined,
                                 undefined,undefined,undefined,undefined,
                                 undefined,undefined,undefined,
                                 <<83,92,166,45,79,85,197,186,166,186,57,100,
                                   151,50,191,221,154,176,172,176,80,155,100,
                                   221,161,51,113,173,194,12,3,48>>,
                                 undefined},
                             undefined,undefined,undefined,undefined,
                             undefined,undefined,undefined,undefined},
                         {connection_state,
                             {security_parameters,
                                 <<0,0>>,
                                 0,0,0,0,0,0,0,0,0,0,0,undefined,undefined,
                                 undefined,undefined},
                             undefined,undefined,undefined,undefined,0,
                             undefined,undefined,undefined},
                         {connection_state,
                             {security_parameters,undefined,0,undefined,
                                 undefined,undefined,undefined,undefined,
                                 undefined,undefined,undefined,undefined,
                                 undefined,undefined,undefined,
                                 <<83,92,166,45,79,85,197,186,166,186,57,100,
                                   151,50,191,221,154,176,172,176,80,155,100,
                                   221,161,51,113,173,194,12,3,48>>,
                                 undefined},
                             undefined,undefined,undefined,undefined,
                             undefined,undefined,undefined,undefined}},
                     {protocol_buffers,[],<<>>,<<>>,[]},
                     {[],[]},
                     340049,
                     {session,undefined,undefined,
                         <<48,130,6,174,48,130,6,150,160,3,2,1,2,2,3,1,53,59,
                           48,13,6,9,42,134,73,134,247,13,1,1,5,5,0,48,129,140,
                           49,11,48,9,6,3,85,4,6,19,2,73,76,49,22,48,20,6,3,85,
                           4,10,19,13,83,116,97,114,116,67,111,109,32,76,116,
                           100,46,49,43,48,41,6,3,85,4,11,19,34,83,101,99,117,
                           114,101,32,68,105,103,105,116,97,108,32,67,101,114,
                           116,105,102,105,99,97,116,101,32,83,105,103,110,105,
                           110,103,49,56,48,54,6,3,85,4,3,19,47,83,116,97,114,
                           116,67,111,109,32,67,108,97,115,115,32,50,32,80,114,
                           105,109,97,114,121,32,73,110,116,101,114,129,101,
                           100,105,97,116,101,32,83,101,114,118,101,114,32,67,
                           65,48,30,23,13,49,51,48,50,48,52,48,55,53,52,18,54,
                           90,23,13,49,53,48,50,48,53,49,48,51,53,53,51,90,48,
                           129,176,49,25,48,23,6,3,85,4,13,19,16,55,67,87,65,
                           110,50,109,57,57,82,56,72,78,49,101,97,49,11,48,9,6,
                           3,85,4,6,19,2,83,69,49,22,48,20,6,3,85,4,8,19,13,79,
                           115,116,101,114,103,111,116,108,97,110,100,115,49,
                           18,48,16,6,3,85,5,7,20,9,76,105,110,107,246,112,105,
                           110,103,49,19,48,17,6,3,85,4,10,19,10,56,52,99,111,
                           100,101,115,32,65,66,49,28,48,26,6,3,85,4,3,20,19,
                           42,46,114,109,113,46,99,108,111,117,100,97,109,113,
                           112,46,99,111,109,49,39,48,37,6,9,42,134,72,134,247,
                           13,1,9,1,22,24,104,111,115,116,109,97,115,116,101,
                           114,64,99,108,111,117,100,97,109,113,112,46,99,111,
                           109,48,130,1,34,48,13,6,9,42,134,72,134,247,13,1,1,
                           1,5,0,3,130,1,15,0,48,130,1,10,2,130,1,1,0,183,137,
                           221,183,39,202,85,242,120,196,190,86,64,43,236,79,
                           158,228,180,218,33,39,189,228,149,126,149,250,64,
                           228,187,160,22,121,238,176,80,180,126,190,6,183,14,
                           164,172,234,173,209,174,138,170,79,44,165,227,18,
                           238,88,156,233,101,223,66,11,122,112,226,235,115,
                           195,210,198,225,212,182,84,40,168,228,122,79,26,193,
                           171,237,192,226,29,37,160,234,40,0,174,74,9,24,73,
                           87,189,216,32,3,157,241,189,91,67,237,254,45,40,244,
                           254,177,216,221,124,215,53,24,239,96,11,121,2,127,
                           131,152,96,119,85,39,253,140,168,47,46,179,105,214,
                           7,162,243,185,49,248,72,250,110,78,229,131,135,196,
                           31,196,126,104,245,173,141,190,124,34,62,77,73,120,
                           122,151,57,200,189,206,129,27,201,93,242,143,179,
                           183,56,104,9,2,126,11,119,192,120,174,11,128,70,221,
                           62,35,204,118,118,61,66,71,169,74,192,101,90,42,133,
                           31,93,215,69,159,40,194,169,76,187,229,166,240,237,
                           107,151,166,65,203,178,208,159,239,212,43,36,21,127,
                           30,8,237,15,23,29,131,146,18,89,109,10,238,119,41,
                           207,2,3,1,0,1,163,130,2,241,48,130,2,237,48,9,6,3,
                           85,29,19,4,2,48,0,48,11,6,3,85,29,15,4,4,3,2,3,168,
                           48,29,6,3,85,29,37,4,22,48,20,6,8,43,6,1,5,5,7,3,2,
                           6,8,43,6,1,5,5,7,3,1,48,29,6,3,85,29,14,4,22,4,20,
                           244,57,131,27,180,11,123,23,244,108,47,92,123,124,
                           10,106,48,255,5,109,48,32,6,3,85,29,35,4,24,48,22,
                           128,20,17,219,35,69,253,84,204,106,113,111,132,138,
                           3,215,190,247,1,47,38,134,48,45,6,3,85,29,17,4,38,
                           48,36,130,19,42,46,114,109,113,46,99,108,111,117,
                           100,97,109,113,112,46,99,111,109,130,13,99,108,111,
                           117,100,97,109,113,112,46,99,111,109,48,130,1,86,6,
                           3,85,29,32,4,130,1,77,48,130,1,73,48,8,6,6,103,129,
                           12,1,2,2,48,130,1,59,6,11,43,6,1,4,1,129,181,55,1,2,
                           3,48,130,1,42,48,46,6,8,43,6,1,5,5,7,2,1,22,34,104,
                           116,116,112,58,47,47,119,119,119,46,115,116,97,114,
                           116,115,115,108,46,99,111,109,47,112,111,108,105,99,
                           121,46,112,100,102,48,129,247,6,8,43,6,1,5,5,7,2,2,
                           48,129,234,48,39,22,32,83,116,97,114,116,67,111,109,
                           32,67,101,114,116,105,112,105,99,97,116,105,111,110,
                           32,65,117,116,104,111,114,105,116,121,48,3,2,1,1,26,
                           129,190,84,104,105,115,32,99,101,114,116,105,102,
                           105,99,97,116,101,32,119,97,115,32,105,115,115,117,
                           101,100,32,97,99,99,111,114,100,105,110,103,32,116,
                           111,32,116,104,101,32,67,108,97,115,115,32,50,32,86,
                           97,108,105,100,97,116,105,111,110,32,114,101,113,
                           117,105,114,101,109,101,110,116,115,32,111,102,32,
                           116,104,101,32,83,116,97,114,116,67,111,109,32,67,
                           65,32,112,111,108,105,99,121,44,32,114,101,108,105,
                           97,110,99,101,32,111,110,108,121,32,102,111,114,32,
                           116,104,101,32,105,110,116,101,110,100,101,100,32,
                           112,117,114,112,111,125,101,32,105,110,32,99,111,
                           109,112,108,105,97,110,99,101,32,111,102,32,116,104,
                           101,32,114,101,108,121,105,110,103,32,112,97,114,
                           116,121,32,111,98,108,105,103,97,116,105,111,110,
                           115,46,48,53,6,3,85,29,31,4,46,48,44,48,42,160,40,
                           160,38,134,36,104,116,116,112,58,47,47,99,114,108,
                           46,115,116,97,114,116,115,115,108,46,99,111,109,47,
                           99,114,116,50,45,99,114,108,46,99,114,108,48,129,
                           142,6,8,43,6,1,5,5,7,1,1,4,129,129,48,127,48,57,6,8,
                           43,6,1,5,5,7,48,1,134,65,104,116,116,112,58,47,47,
                           111,99,115,112,46,115,116,97,114,116,115,115,108,46,
                           99,111,109,47,115,117,98,47,99,108,97,115,115,50,47,
                           115,101,114,118,101,114,47,99,97,48,66,6,8,43,6,1,5,
                           5,7,48,2,134,54,104,116,116,112,58,47,47,97,105,97,
                           46,115,116,97,114,116,115,115,108,46,99,111,109,47,
                           99,101,114,116,115,47,115,117,98,46,99,108,97,115,
                           115,50,46,115,101,114,118,101,114,46,99,97,46,99,
                           114,116,48,35,6,3,85,29,18,4,28,48,26,134,24,104,
                           116,116,112,58,47,47,119,119,119,46,115,116,97,114,
                           116,115,115,108,46,99,111,119,47,48,13,6,9,42,134,
                           72,134,247,13,1,1,5,5,0,3,130,1,1,0,91,212,246,146,
                           131,145,239,77,37,248,17,199,75,85,50,13,75,6,69,
                           129,59,5,28,129,236,111,197,220,177,254,111,177,144,
                           122,170,220,4,125,62,112,53,72,34,51,170,35,175,129,
                           70,168,190,90,6,116,16,212,227,177,75,208,93,43,35,
                           159,125,56,110,192,32,160,155,185,182,85,100,204,
                           176,2,151,249,123,252,252,243,17,37,60,113,139,46,
                           197,202,50,147,187,50,110,172,205,91,229,112,26,97,
                           15,250,1,97,89,157,90,242,106,173,199,149,57,98,120,
                           83,236,196,174,49,193,235,112,63,146,36,121,70,238,
                           144,101,99,111,99,36,20,59,95,234,108,222,248,165,
                           48,251,20,8,60,90,27,13,213,78,179,104,170,231,231,
                           244,29,75,43,200,89,44,130,32,196,247,231,217,29,93,
                           152,29,46,242,157,182,131,56,142,171,73,187,104,221,
                           98,155,22,87,70,239,116,238,177,146,224,68,3,164,32,
                           56,100,43,177,131,36,10,185,232,169,248,18,83,233,
                           47,135,241,218,238,180,66,183,23,165,157,131,102,
                           123,191,26,116,140,240,57,110,17,160,60,198,178,237,
                           152,7,145,180,243,145,158,117,149>>,
                         undefined,undefined,undefined,undefined,new,
                         63565799981,undefined},
                     352340,ssl_session_cache,undefined,false,undefined,
                     {undefined,undefined},
                     undefined,undefined,
                     {'RSAPrivateKey','two-prime',
                         23169594104663916754024609885451007346734518081161933486151100790891319288842993062024864026753999644781112571808745336203476897326733432341208390705064492819405766110557319716103555961942312440324865740680098616133169524413943329093861129746161983846911340936667378191763756398045279703183915814366644263307027670939335692317247830301546626031352915762911114631267554272236999416855425302983751527616217508790316649275231035008137006948837245982431727482526359534053385813029076911408316300496158430246260532705931981497490503605835040867965480608299400982169400896587071599767849359615970927244548381110837561469391,
                         65537,
                         6636197124351837609133709998318520208516618687176566725186418556629399489903871588068857632271836173950383204684711822419022305563576502715669357796737195701864071221771998235973264704847935468778522892691245115330816563815465008017163850442730161569653368032137317180182148577867585414475262580702141987984352357270654384850290376815093695185693648977035413382969323801130596206685216555742659981171704347271119661020083568652988072805069447757046370305167340341357391951232185707885662550937398080071247874253173756061192743436423165982399133145000503441635721173642424302684494032059465522509774398570976841494545,
                         155736363954544547809912144927586773143845350983964238034653323205040433395041921009738031471640342894563800944330689863407331385654303795965452943201739310927478688933505107746474149420722410792770388155726284200750442429113454014212803311107848175607925709822990364344718981097665217983658748079537950309769,
                         148774464205588567898315826919209660169292402872231269070066046538970671834522350931090519955243203554515342376331231149157818580292504934665732709387377457607852875099580394695741964575821828753507621779429049756257997003642633735192558554242432865120408724827926447450529804277125593724703850795611088383639,
                         153165194297727525344132218461443237606032502215106198979562383801224974205066252936244637662764214127425878356757779806001488387664192000991093114638572215478746950504433704926972417121819170661580715757165229536893201806132530913622629009833473521198847240896605641604572408359400210951626174641296040209593,
                         23826796714861202766949439695805798146648352236857643776178543791644966531503526181740483962498018897846911417702558892557798858946093531810298465259775604544791854632424368261081643349372505830245754279214601007700748226959321965982286259446245256150019225411506721278678621628892232353243078229866090661377,
                         154979484236028279296703812776652738438646369013574047064659739971432576956488332652465511584756516042823812010373214533885733861068074009104474708588656255540783353534251151148551838214758721555054871439387782995673644427568219562757566450673156337172360184233997561254467957733729735228374599496793038086175,
                         asn1_NOVALUE},
                     {'DHParameter',
                         179769313486231590770839156788767453197860296048756011706444423684197180216158519368947833795864925541502180565485980503646440548199239100050792877003355816639229553136239076508735759914822574862575007425302077447712589550957937778424442426617334727629299387668709205606050270810842907692932019128194467627007,
                         2,asn1_NOVALUE},
                     undefined,undefined,undefined,undefined,undefined,344146,
                     #Ref<0.0.25.84802>,undefined,<<>>,
                     {false,first},
                     {<0.25489.64>,#Ref<0.0.61.108796>},
                     undefined,
                     {[],[]},
                     false,true,false,undefined,undefined}
** Reason for termination =
** {function_clause,[{tls_v1,enum_to_oid,
                             [65282],
                             [{file,"tls_v1.erl"},{line,404}]},
                     {ssl_handshake,'-dec_hello_extensions/2-blc$^1/1-0-',1,
                                    [{file,"ssl_handshake.erl"},{line,1657}]},
                     {ssl_handshake,'-dec_hello_extensions/2-blc$^1/1-0-',1,
                                    [{file,"ssl_handshake.erl"},{line,1657}]},
                     {ssl_handshake,dec_hello_extensions,2,
                                    [{file,"ssl_handshake.erl"},{line,1657}]},
                     {tls_handshake,decode_handshake,3,
                                    [{file,"tls_handshake.erl"},{line,182}]},
                     {tls_handshake,get_tls_handshake_aux,3,
                                    [{file,"tls_handshake.erl"},{line,153}]},
                     {tls_connection,next_state,4,
                                     [{file,"tls_connection.erl"},{line,454}]},
                     {gen_fsm,handle_msg,7,
                              [{file,"gen_fsm.erl"},{line,505}]}]}

=ERROR REPORT==== 27-Apr-2014::06:39:41 ===
    application: mochiweb
    "Accept failed error"
    "{'EXIT',\n    {{function_clause,\n         [{tls_v1,enum_to_oid,[65282],[{file,\"tls_v1.erl\"},{line,..."

(I changed some of the numbers in there in case it's our private key...)

This is our ssl_options config in rabbitmq.config:
 
    {ssl_options, [{cacertfile,"/etc/rabbitmq/ca.pem"},
                   {certfile,"/etc/rabbitmq/cert.pem"},
                   {ciphers,[{ecdhe_rsa,rc4_128,sha},{ecdhe_rsa,aes_128_cbc,sha},{rsa,rc4_128,sha},{rsa,aes_128_cbc,sha}]},
                   {secure_renegotiate,true}
                  ]}

Reply | Threaded
Open this post in threaded view
|

Re: ssl_handshake error

Michael Klishin-2
 On 29 April 2014 at 06:16:31, carlhoerberg ([hidden email]) wrote:
> > With RabbitMQ 3.3.0 we sometimes see error like this:
>  
>  
>  
> (I changed some of the numbers in there in case it's our private  
> key...)
>  
> This is our ssl_options config in rabbitmq.config:
>  

Carl,

Maybe it's just my email client but I don't see any error message
or ssl_options in your email.
--  
MK  

Software Engineer, Pivotal/RabbitMQ
_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: ssl_handshake error

carlhoerberg

Oh, see here http://rabbitmq.1065348.n5.nabble.com/ssl-handshake-error-tp35156p35169.html
Or I'll repost it later

On Apr 29, 2014 4:22 PM, "Michael Klishin-2 [via RabbitMQ]" <[hidden email]> wrote:
 On 29 April 2014 at 06:16:31, carlhoerberg ([hidden email]) wrote:
> > With RabbitMQ 3.3.0 we sometimes see error like this:
>  
>  
>  
> (I changed some of the numbers in there in case it's our private  
> key...)
>  
> This is our ssl_options config in rabbitmq.config:
>  

Carl,

Maybe it's just my email client but I don't see any error message
or ssl_options in your email.
--  
MK  

Software Engineer, Pivotal/RabbitMQ
_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



If you reply to this email, your message will be added to the discussion below:
http://rabbitmq.1065348.n5.nabble.com/ssl-handshake-error-tp35156p35169.html
To unsubscribe from ssl_handshake error, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: ssl_handshake error

Michael Klishin-2
 On 29 April 2014 at 13:29:36, carlhoerberg ([hidden email]) wrote:
> > Oh, see here http://rabbitmq.1065348.n5.nabble.com/ssl-handshake-error-tp35156p35169.html 

** {function_clause,[{tls_v1,enum_to_oid,
                             [65282],
                             [{file,"tls_v1.erl"},{line,404}]},
                     {ssl_handshake,'-dec_hello_extensions/2-blc$^1/1-0-',1,
                                    [{file,"ssl_handshake.erl"},{line,1657}]},
                     {ssl_handshake,'-dec_hello_extensions/2-blc$^1/1-0-',1,
                                    [{file,"ssl_handshake.erl"},{line,1657}]},
                     {ssl_handshake,dec_hello_extensions,2,
                                    [{file,"ssl_handshake.erl"},{line,1657}]},
                     {tls_handshake,decode_handshake,3,
                                    [{file,"tls_handshake.erl"},{line,182}]},
                     {tls_handshake,get_tls_handshake_aux,3,
                                    [{file,"tls_handshake.erl"},{line,153}]},
                     {tls_connection,next_state,4,
                                     [{file,"tls_connection.erl"},{line,454}]},
                     {gen_fsm,handle_msg,7,
                              [{file,"gen_fsm.erl"},{line,505}]}]}

suggests it may be an Erlang ssl app issue. How do you generate your keys
and what Erlang version do you run?
--  
MK  

Software Engineer, Pivotal/RabbitMQ
_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: ssl_handshake error

carlhoerberg
Erlang R16B3-1. Key generated by Firefox, cert generated by StartSSL. Note that we haven't found a faulty client (yet), only this showing up in the log, ie. both AMQPS and HTTPS to the mgmt interface works in the normal case.. So maybe not high priority. 

On Tuesday 29 April 2014 at 22:33, Michael Klishin-2 [via RabbitMQ] wrote:

 On 29 April 2014 at 13:29:36, carlhoerberg ([hidden email]) wrote:
> > Oh, see here http://rabbitmq.1065348.n5.nabble.com/ssl-handshake-error-tp35156p35169.html 

** {function_clause,[{tls_v1,enum_to_oid,
                             [65282],
                             [{file,"tls_v1.erl"},{line,404}]},
                     {ssl_handshake,'-dec_hello_extensions/2-blc$^1/1-0-',1,
                                    [{file,"ssl_handshake.erl"},{line,1657}]},
                     {ssl_handshake,'-dec_hello_extensions/2-blc$^1/1-0-',1,
                                    [{file,"ssl_handshake.erl"},{line,1657}]},
                     {ssl_handshake,dec_hello_extensions,2,
                                    [{file,"ssl_handshake.erl"},{line,1657}]},
                     {tls_handshake,decode_handshake,3,
                                    [{file,"tls_handshake.erl"},{line,182}]},
                     {tls_handshake,get_tls_handshake_aux,3,
                                    [{file,"tls_handshake.erl"},{line,153}]},
                     {tls_connection,next_state,4,
                                     [{file,"tls_connection.erl"},{line,454}]},
                     {gen_fsm,handle_msg,7,
                              [{file,"gen_fsm.erl"},{line,505}]}]}

suggests it may be an Erlang ssl app issue. How do you generate your keys
and what Erlang version do you run?
--  
MK  

Software Engineer, Pivotal/RabbitMQ
_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



If you reply to this email, your message will be added to the discussion below:
http://rabbitmq.1065348.n5.nabble.com/ssl-handshake-error-tp35156p35197.html
To unsubscribe from ssl_handshake error, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: ssl_handshake error

Matthias Radestock-3
On 29/04/14 15:39, carlhoerberg wrote:
> Erlang R16B3-1.

The error looks quite similar to
http://erlang.org/pipermail/erlang-questions/2014-March/078083.html. I
think that may have been fixed in R17. In any case R17 contains a bunch
of SSL/crypto fixes, so it's worth giving that a try.

Matthias.
_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: ssl_handshake error

carlhoerberg
Ahh, good catch. Yes, will :) 

On Tuesday 29 April 2014 at 22:46, Matthias Radestock-3 [via RabbitMQ] wrote:

On 29/04/14 15:39, carlhoerberg wrote:
> Erlang R16B3-1.

The error looks quite similar to
http://erlang.org/pipermail/erlang-questions/2014-March/078083.html. I
think that may have been fixed in R17. In any case R17 contains a bunch
of SSL/crypto fixes, so it's worth giving that a try.

Matthias.
_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



If you reply to this email, your message will be added to the discussion below:
http://rabbitmq.1065348.n5.nabble.com/ssl-handshake-error-tp35156p35199.html
To unsubscribe from ssl_handshake error, click here.
NAML