[rabbitmq-discuss] error on SSL connection with broker (rabbitmq-c)

Ashok Anand ashok.anand at gmail.com
Wed Jul 10 22:57:23 BST 2013


Hi,

I am using rabbitmq-c library for SSL connection, and I am having this
problem.

=INFO REPORT==== 10-Jul-2013::21:48:49 ===
accepting AMQP connection <0.538.0> (127.0.0.1:54381 -> 127.0.0.1:5671)

=ERROR REPORT==== 10-Jul-2013::21:48:49 ===
SSL: certify_certificate: ./ssl_connection.erl:490:Fatal error: handshake
failure

=ERROR REPORT==== 10-Jul-2013::21:48:54 ===
error on AMQP connection <0.538.0>: {ssl_upgrade_error,esslaccept} (unknown
POSIX error)

I am not sure, what is the cause..

As per http://www.rabbitmq.com/troubleshooting-ssl.html,
I checked that keys are valid, got message -

Verify return code: 0 (ok)

The Attempt SSL to broker also worked fine,
openssl s_client -connect localhost:5671 -cert client/cert.pem -key
client/key.pem \
  -CAfile testca/cacert.pem

Not sure, what is the problem.. please suggest.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130711/99e60f63/attachment.htm>


More information about the rabbitmq-discuss mailing list