[rabbitmq-discuss] How to avoid handshake_timout while attempting a SSL connection to the RabbitMQ broker?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Mon Jun 30 15:05:03 BST 2014


I had installed the RabbitMQ and used it as a serve (not sevice)r in my Windows 7. My java client application send and get messages from the broker´s queues very well. No issues.

After that, i also had configured such broker to uses SSL and exchanges certificates with a java client. According to the SSL Troubleshooting web page (http://www.rabbitmq.com/troubleshooting-ssl.html) almost everything is ok with my broker and all configuration I had set. That is, I had tested every single step from this troubleshooting page and I have found just one issue:

When I attempt a SSL connection to broker, using the command "openssl s_client -connect localhost:5671 -cert client/cert.pem -key client/key.pem -CAfile testca/cacert.pem"  , it presents the message “Verify return code: 0 (ok)”. However, after an instant, it closes and presents “Closed”. 

In the log I got:

=INFO REPORT==== 30-Jun-2014::10:47:09 ===
accepting AMQP connection <0.306.0> ( ->

=ERROR REPORT==== 30-Jun-2014::10:47:19 ===
closing AMQP connection <0.306.0> ( ->

What should I configure in RabbitMQ to avoid such kind of timeout issue? 
Any hint will be very helpful! 
Thanks a lot.

Inatel Competence Center
Ph: +55 35 3471 9979

More information about the rabbitmq-discuss mailing list