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

Alan Antonuk alan.antonuk at gmail.com
Wed Jul 10 23:09:41 BST 2013


What error code is returned from amqp_socket_open()? (Does it match any of
the error codes listed in amqp_status_enum?


On Wed, Jul 10, 2013 at 2:57 PM, Ashok Anand <ashok.anand at gmail.com> wrote:

> 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.
>
>
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130710/b9c5b5dc/attachment.htm>


More information about the rabbitmq-discuss mailing list