What version of Erlang is in use here? This rabbitmq-discuss thread suggests that this error is indicative of a bug in R16: [rabbitmq-discuss] ssl_handshake error
On Wednesday, April 5, 2017 at 12:50:59 PM UTC-6, Kernel Panic wrote:
I'm also getting this on rabbitmq error log:
=ERROR REPORT==== 5-Apr-2017::13:48:19 ===
error on AMQP connection <0.1145.0>:
{ssl_upgrade_failure,
{{function_clause,
[{tls_v1,enum_to_oid,[28],[{file,"tls_v1.erl"},{line,404}]},
** When State == hello
** Data == {state,server,
{#Ref<0.0.0.29667>,<0.1205.0>},
gen_tcp,tls_connection,tcp,tcp_closed,tcp_error,
"localhost",5671,#Port<0.9074>,
{ssl_options,undefined,
[{3,3},{3,2},{3,1}],
verify_peer,
{#Fun<ssl.3.94144976>,
#Fun<rabbit_networking.1.106337268>},
false,false,undefined,1,
<<"/etc/rabbitmq/ssl/cert.pem">>,undefined,
<<"/etc/rabbitmq/ssl/key.pem">>,undefined,undefined,
undefined,<<"/etc/rabbitmq/ssl/cacert.pem">>,
undefined,undefined,undefined,undefined,undefined,
[<<0,107>>,
---------- Forwarded message ----------
From: Net Warrior <netwar...@gmail.com <javascript:>>
Date: 2017-04-05 15:46 GMT-03:00
Subject: RabbitMQ SSL Auth Error
To: sensu-users <sensu...@googlegroups.com <javascript:>>
Hi guys
I'm facing issues while trying to connect to rabbit with SSL
certificates, whiout SSL it works fine, this is what I did
Followed this to generate the certs:
TLS Support — RabbitMQ
Config:
"rabbitmq": {
"host": "hostname",
"port": 5671,
"vhost": "/sensu",
"user": "sensu",
"password": "agoodpassword",
"ssl": {
"cert_chain_file": "/etc/sensu/ssl/cert.pem",
"private_key_file": "/etc/sensu/ssl/key.pem"
}
RMQ
{ssl_options, [{cacertfile, "/etc/rabbitmq/ssl/cacert.pem"},
{certfile, "/etc/rabbitmq/ssl/cert.pem"},
{keyfile, "/etc/rabbitmq/ssl/key.pem"},
{verify, verify_peer},
{fail_if_no_peer_cert, false}]}
level":"warn","message":"transport connection
error","reason":"possible authentication failure. wrong
credentials?","user":"sensu"}
Am I facing this bug? Incorrect logs and behavior whith wrong rabbit credentials · Issue #1550 · sensu/sensu · GitHub
<Issues · sensu/sensu · GitHub;
Sensu version
sensu-0.28.5-2.el7.x86_64
Thanks in advance
Regards