<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
</head>
<body>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
I downloaded Rabbitmq--c-master from<a href="https://github.com/alanxz/rabbitmq-c/tree/ssl" target="_blank">https://github.com/alanxz/rabbitmq-c/tree/ssl</a>. I understand that this package supports SSL functionalities for rabbitmq-c. I were able to compile
and install this package and examples provided in it.<br>
<br>
</div>
</div>
Steps I followed on server side:<br>
</div>
step - 1.Created own CA and generated the key<br>
</div>
<div>* For creating CA I followed this link <a href="http://www.rabbitmq.com/ssl.html" target="_blank">
http://www.rabbitmq.com/ssl.html</a> <br>
</div>
step-2:Next I created our own rabbitmq.config at /etc/rabbitmq .<br>
[<br>
{rabbit, [<br>
{ssl_listeners, [5672]},<br>
{ssl_options, [{cacertfile,"/path/to/testca/cacert.pem"},<br>
{certfile,"/path/to/server/cert.pem"},<br>
{keyfile,"/path/to/server/key.pem"},<br>
{verify,verify_peer},<br>
{fail_if_no_peer_cert,false}]}<br>
]}<br>
].<br>
</div>
<br>
</div>
step-3: Then I executed the program using following command<br>
./amqps_listen <Server> 5672 amq.direct AAA "/<PATH_TO>/cacert.pem" "<PATH_TO/key.pem" "<PATH_TO/cert.pem"<br>
<br>
<div>amqp_socket_open is failing with following message displayed on console:<br>
opening SSL/TLS connection<br>
</div>
<br>
I disabled firewall on server [sudo ufw disable] but still the same error. Kindly suggest.<br>
<br>
Thanks and regards,<br>
Shashank</div>
<br>
<hr>
<font face="Arial" color="Navy" size="2"><br>
DISCLAIMER:<br>
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or
all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.<br>
</font>
</body>
</html>