# RabbitMQ: Handshake failure

**URL:** <https://discourse.sensu.io/t/rabbitmq-handshake-failure/246>\
**Category:** Sensu Classic (EOL)\
**Created:** [September 8, 2014, 3:57pm UTC](https://discourse.sensu.io/t/rabbitmq-handshake-failure/246 "2014-09-08T15:57:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunter\_Dressel](https://avatars.discourse-cdn.com/v4/letter/g/f14d63/32.png) [@Gunter\_Dressel](https://discourse.sensu.io/u/Gunter_Dressel)\
**Post date:** [September 8, 2014, 3:57pm UTC](https://discourse.sensu.io/t/rabbitmq-handshake-failure/246/1 "2014-09-08T15:57:48Z")

</div>

Hello,

after testing Sensu with the documented SSL Certificate utility script from [https://github.com/joemiller/joemiller.me-intro-to-sensu](https://github.com/joemiller/joemiller.me-intro-to-sensu) I’m heading to deploy a sensu setup with our corporate certificates.  
But I can’t make them accepted by RabbitMQ.  
What settings/parameters am I missing in my Certificates that RabbitMQ is allowing me to connect with a client certificate??

Running openssl s\_client/s\_server tests are good with my certificates.  
RabbitMQ is booting up with my certificates.  
Sensu, openssel s\_client or any other ssl client program are **not** able to establish a connection with rabbitmq.

openssl tells me about “alert number 40”. RabbitMQ logs about “{tls\_alert,“handshake failure”}} (unknown POSIX error)”.

Those error messages are not very useful - as far as googled about it…

I’m not able to bring rabbitMQ into a more verbose logging mode. May you can tell me how?  
In the erlang community is not much information which could be understood from a not-erlang-programmer…

Please help me understand my Problem.

Thanks,  
G.D.

---

<div class="post-metadata">

**Author:** ![Gennady\_Karev](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@Gennady\_Karev](https://discourse.sensu.io/u/Gennady_Karev)\
**Post date:** [September 11, 2014, 10:45am UTC](https://discourse.sensu.io/t/rabbitmq-handshake-failure/246/2 "2014-09-11T10:45:47Z")

</div>

Check your rabbitmq port configuration, you may be using the wrong port to connect to rabbitmq.

> **···**
>
> понедельник, 8 сентября 2014 г., 21:57:49 UTC+6 пользователь Günter Dressel написал:
> 
> > Hello,
> > 
> > after testing Sensu with the documented SSL Certificate utility script from [https://github.com/joemiller/joemiller.me-intro-to-sensu](https://github.com/joemiller/joemiller.me-intro-to-sensu) I’m heading to deploy a sensu setup with our corporate certificates.  
> > But I can’t make them accepted by RabbitMQ.  
> > What settings/parameters am I missing in my Certificates that RabbitMQ is allowing me to connect with a client certificate??
> > 
> > Running openssl s\_client/s\_server tests are good with my certificates.  
> > RabbitMQ is booting up with my certificates.  
> > Sensu, openssel s\_client or any other ssl client program are **not** able to establish a connection with rabbitmq.
> > 
> > openssl tells me about “alert number 40”. RabbitMQ logs about “{tls\_alert,“handshake failure”}} (unknown POSIX error)”.
> > 
> > Those error messages are not very useful - as far as googled about it…
> > 
> > I’m not able to bring rabbitMQ into a more verbose logging mode. May you can tell me how?  
> > In the erlang community is not much information which could be understood from a not-erlang-programmer…
> > 
> > Please help me understand my Problem.
> > 
> > Thanks,  
> > G.D.

---

<div class="post-metadata">

**Author:** ![Priit\_Voodla](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@Priit\_Voodla](https://discourse.sensu.io/u/Priit_Voodla)\
**Post date:** [September 18, 2014, 10:21am UTC](https://discourse.sensu.io/t/rabbitmq-handshake-failure/246/3 "2014-09-18T10:21:44Z")

</div>

Just joined the mailing list to complain about the exact same handshake error.  
Running RabbitMQ 3.3.5 on Erlang 17 and sensu-api is unable to connect to RabbitMQ with certs generated using this guide: [http://sensuapp.org/docs/latest/certificates](http://sensuapp.org/docs/latest/certificates)

> **···**
>
> On Monday, September 8, 2014 6:57:49 PM UTC+3, Günter Dressel wrote:
> 
> > Hello,
> > 
> > after testing Sensu with the documented SSL Certificate utility script from [https://github.com/joemiller/joemiller.me-intro-to-sensu](https://github.com/joemiller/joemiller.me-intro-to-sensu) I’m heading to deploy a sensu setup with our corporate certificates.  
> > But I can’t make them accepted by RabbitMQ.  
> > What settings/parameters am I missing in my Certificates that RabbitMQ is allowing me to connect with a client certificate??
> > 
> > Running openssl s\_client/s\_server tests are good with my certificates.  
> > RabbitMQ is booting up with my certificates.  
> > Sensu, openssel s\_client or any other ssl client program are **not** able to establish a connection with rabbitmq.
> > 
> > openssl tells me about “alert number 40”. RabbitMQ logs about “{tls\_alert,“handshake failure”}} (unknown POSIX error)”.
> > 
> > Those error messages are not very useful - as far as googled about it…
> > 
> > I’m not able to bring rabbitMQ into a more verbose logging mode. May you can tell me how?  
> > In the erlang community is not much information which could be understood from a not-erlang-programmer…
> > 
> > Please help me understand my Problem.
> > 
> > Thanks,  
> > G.D.
