<div dir="ltr">Hello!<div><br></div><div>I'm using RabbitMQ and I'm having problems with using ECDSA + SHA256 certificates.</div><div>Is it not supported?</div><div><br></div><div><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-height:22.4px">Working:<br>ECDSA+SHA1; RSA+SHA1; RSA+SHA256</p><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-height:22.4px"><strong>Not Working:</strong><br>ECDSA+SHA256</p><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-height:22.4px">Running rabbitmq 3.5.6, erlang r18.1, windows 7/linux mint. Certs generated with openssl 1.0.1f and 1.0.2d.</p><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-height:22.4px">Crash Log:</p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">** Reason for termination = </span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">** {function_clause,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">       [{public_key,sign,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">            [{digest,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                 <<57,64,231,69,138,82,239,218,169,237,223,217,16,61,160,220,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   38,83,122,74,96,74,92,46,235,162,222,157,233,111,207,245,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   237,166,225,110,42,139,85,177,43,201,68,255,30,213,34,130,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   253,247,193,2,46,47,152,212,60,82,211,243,9,70,247,136>>},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">             sha512,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">             {'PrivateKeyInfo',v1,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                 {'PrivateKeyInfo_privateKeyAlgorithm',</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                     {1,2,840,10045,2,1},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                     {asn1_OPENTYPE,<<6,5,43,129,4,0,34>>}},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                 <<48,129,155,2,1,1,4,48,237,83,11,120,206,206,60,186,204,57,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   67,34,207,48,160,53,106,128,99,184,234,248,246,226,38,18,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   224,179,13,181,132,114,19,60,30,120,156,126,72,62,95,230,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   102,28,152,71,84,22,161,100,3,98,0,4,240,84,45,30,54,167,65,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   215,99,151,193,226,179,244,90,187,157,21,201,191,106,28,196,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   5,69,246,127,70,247,120,180,66,179,61,88,156,98,238,168,12,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   110,114,192,137,183,45,106,177,200,173,116,41,191,190,203,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   108,166,91,239,129,27,203,165,160,126,165,9,156,158,145,81,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   28,57,88,38,236,146,11,76,38,61,178,65,245,62,52,7,20,26,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                   123,198,154,162,221,231,2>>,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">                 asn1_NOVALUE}],</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">            [{file,"public_key.erl"},{line,441}]},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">        {ssl_handshake,enc_server_key_exchange,6,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">            [{file,"ssl_handshake.erl"},{line,846}]},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">        {ssl_connection,key_exchange,2,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">            [{file,"ssl_connection.erl"},{line,1245}]},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">        {ssl_connection,server_certify_and_key_exchange,2,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">            [{file,"ssl_connection.erl"},{line,1142}]},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">        {ssl_connection,new_server_hello,3,</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">            [{file,"ssl_connection.erl"},{line,1015}]},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">        {tls_connection,next_state,4,[{file,"tls_connection.erl"},{line,466}]},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">        {gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,518}]},</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">        {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px"><br></span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">=ERROR REPORT==== 16-Nov-2015::14:07:40 ===</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">    application: mochiweb</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">    "Accept failed error"</span></font></p><p style="margin-top:0px;margin-bottom:16px"><font color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"><span style="font-size:14px;line-height:22.4px">    "{'EXIT',\n    {{function_clause,\n         [{public_key,sign,\n              [{digest,\n                   <<57,64,231,69,138,82,239,218,169,237,223,217,16,61,160,\n                     220,38,83,122,74,96,74,92,46,235,162,222,157,233,111,207,\n                     245,237,166,225,110,42,139,85,177,43,201,68,255,30,213,\n                     34,130,253,247,193,2,46,47,152,212,60,82,211,243,9,70,\n                     247,136>>},\n               sha512,\n               {'PrivateKeyInfo',v1,\n                   {'PrivateKeyInfo_privateKeyAlgorithm',\n                       {1,2,840,10045,2,1},\n                       {asn1_OPENTYPE,<<6,5,43,129,4,0,34>>}},\n                   <<48,129,155,2,1,1,4,48,237,83,11,120,206,206,60,186,204,57,\n                     67,34,207,48,160,53,106,128,99,184,234,248,246,226,38,18,\n                     224,179,13,181,132,114,19,60,30,120,156,126,72,62,95,230,\n                     102,28,152,71,84,22,161,100,3,98,0,4,240,84,45,30,54,167,\n                     65,215,99,151,193,226,179,244,90,187,157,21,201,191,106,\n                     28,196,5,69,246,127,70,247,120,180,66,179,61,88,156,98,\n                     238,168,12,110,114,192,137,183,45,106,177,200,173,116,41,\n                     191,190,203,108,166,91,239,129,27,203,165,160,126,165,9,\n                     156,158,145,81,28,57,88,38,236,146,11,76,38,61,178,65,245,\n                     62,52,7,20,26,123,198,154,162,221,231,2>>,\n                   asn1_NOVALUE}],\n              [{file,\"public_key.erl\"},{line,441}]},\n          {ssl_handshake,enc_server_key_exchange,6,\n              [{file,\"ssl_handshake.erl\"},{line,846}]},\n          {ssl_connection,key_exchange,2,\n              [{file,\"ssl_connection.erl\"},{line,1245}]},\n          {ssl_connection,server_certify_and_key_exchange,2,\n              [{file,\"ssl_connection.erl\"},{line,1142}]},\n          {ssl_connection,new_server_hello,3,\n              [{file,\"ssl_connection.erl\"},{line,1015}]},\n          {tls_connection,next_state,4,\n              [{file,\"tls_connection.erl\"},{line,466}]},\n          {gen_fsm,handle_msg,7,[{file,\"gen_fsm.erl\"},{line,518}]},\n          {proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]},\n     {gen_fsm,sync_send_all_state_event,\n         [<0.533.0>,{start,infinity},infinity]}}}"</span></font></p></div><img width="0" height="0" class="mailtrack-img" src="https://mailtrack.io/trace/mail/06ea2a2febc4f1ced8c373afb6005ab7c27f80ff.png"></div>