[rabbitmq-discuss] RabbitMQ + TLS + default Erlang with Ubuntu 14.04
carlhoerberg
carl.hoerberg at gmail.com
Wed May 14 12:54:47 BST 2014
Seems to be a problem with the default erlang coming with ubuntu 14.04,
rabbitmq and TLS.
When enabling TLS it causes problems with some TLS clients.
Firefox:
Secure Connection Failed
An error occurred during a connection to purple-fawn.rmq.cloudamqp.com. The
key does not support the requested operation. (Error code:
sec_error_invalid_key)
Chrome:
Error code: ERR_SSL_CLIENT_AUTH_SIGNATURE_FAILED
Safari: Works
Java: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
When installing Erlang R17 from erlang-solutions it works fine. Erlang
R16B3-1 (the version coming with ubutu 14.04) from erlang-solutions on
ubuntu 12.04 works fine too.
RabbitMQ logs:
2014-05-14 11:38:45 UTC ERROR
SSL: certify: tls_connection.erl:375:Fatal error: unexpected message
2014-05-14 11:38:45 UTC ERROR
** gen_event handler rabbit_sasl_report_file_h crashed.
** Was installed in error_logger
** Last event was: {error_report,<0.339.0>,
{<0.348.0>,std_error,
{mochiweb_socket_server,295,
{acceptor_error,{error,accept_failed}}}}}
** When handler state == {<0.47.0>,
"/var/log/rabbitmq/rabbit at purple-fawn-01-sasl.log",
error}
** Reason == {function_clause,
[{truncate,'-report/2-lc$^0/1-0-',
[{mochiweb_socket_server,295,
{acceptor_error,{error,accept_failed}}},
{2000,100,50,5}],
[]},
{truncate,log_event,2,[]},
{rabbit_sasl_report_file_h,handle_event,2,[]},
{gen_event,server_update,4,
[{file,"gen_event.erl"},{line,522}]},
{gen_event,server_notify,4,
[{file,"gen_event.erl"},{line,504}]},
{gen_event,server_notify,4,
[{file,"gen_event.erl"},{line,506}]},
{gen_event,handle_msg,5,[{file,"gen_event.erl"},{line,266}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}
2014-05-14 11:38:45 UTC ERROR
** gen_event handler rabbit_error_logger_file_h crashed.
** Was installed in error_logger
** Last event was: {error_report,<0.339.0>,
{<0.348.0>,std_error,
{mochiweb_socket_server,295,
{acceptor_error,{error,accept_failed}}}}}
** When handler state == {<0.46.0>,
"/var/log/rabbitmq/rabbit at purple-fawn-01.log",[]}
** Reason == {function_clause,
[{truncate,'-report/2-lc$^0/1-0-',
[{mochiweb_socket_server,295,
{acceptor_error,{error,accept_failed}}},
{2000,100,50,5}],
[]},
{truncate,log_event,2,[]},
{rabbit_error_logger_file_h,handle_event,2,[]},
{gen_event,server_update,4,
[{file,"gen_event.erl"},{line,522}]},
{gen_event,server_notify,4,
[{file,"gen_event.erl"},{line,504}]},
{gen_event,server_notify,4,
[{file,"gen_event.erl"},{line,506}]},
{gen_event,handle_msg,5,[{file,"gen_event.erl"},{line,266}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}
2014-05-14 11:38:59 UTC ERROR
SSL: certify: tls_connection.erl:375:Fatal error: unexpected message
2014-05-14 11:39:14 UTC ERROR
SSL: certify: tls_connection.erl:375:Fatal error: unexpected message
--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/RabbitMQ-TLS-default-Erlang-with-Ubuntu-14-04-tp35532.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
More information about the rabbitmq-discuss
mailing list