Hi,
I am using RabbitMQ broker to send messages from Java client to C client.
It is very useful for my application.
Recently, I tried sending messages with SSL enabled.
The application works properly.
But, sometimes it gets crashed , with the C client getting an error on “amqp_simple_wait_frame_noblock” method.
The error code value is -512 and corresponding error string is “a SSL error occurred”.
I have configured SSL in java client as well as rabbitmq broker.
Changes I made to test SSL in C client :
amqp_ssl_socket_set_verify_peer(socket,0);
amql_ssl_socket_set_verify_hostname(socket,0);
amqp_ssl_socket_set_cacert(socket,ssl_cacert_file);
amqp_ssl_socket_set_key(socket,ssl_cert_file,ssl_key_file);
Kindly help me out in this issue.