<div dir="ltr">Hi,<div><br></div><div>I am trying to get the HTTP API (REST calls ) and the management console to work without prompting for user name and password.</div><div><br></div><div>1.) Now first thing I am trying is accessing :-�<a href="https://10.31.52.204:15672">https://10.31.52.204:15672</a> from my browser ( I have imported the certificates in the browser.)<br>
</div><div><br></div><div>I get a prompt to select the certificate and after that it takes me to the username/password page. Can you help me in understanding what I am missing ? Shouldnt&#39; it authenticate based on the client certificate and take me in or fail (since I have fail_if_no_peer_cert, true &amp; verify, verify_peer)</div>
<div><br></div><div>2.) Even for the REST API calls , say for example - �<a href="https://10.31.52.204:15672/api/users">https://10.31.52.204:15672/api/users</a>, I still get a prompt for username and password. How do I prevent this ?</div>
<div><br></div><div>(Basically I am trying the last part in�<a href="http://www.rabbitmq.com/mochiweb.html">http://www.rabbitmq.com/mochiweb.html</a>)</div><div><br></div><div>The following is my rabbitmq.config file : -</div>
<div><br></div><div><div>� {rabbit, [</div><div>� � {heartbeat, 30},</div><div>� � {auth_mechanisms, � � [&#39;EXTERNAL&#39;]},</div><div>� � {ssl_listeners, � � � [15671]},</div><div>� � {ssl_cert_login_from, common_name},</div>
<div>� � {ssl_options, [{cacertfile, &quot;/home/test/certificates/cert/testca/cacert.pem&quot;},</div><div>� � � � � � � � � � {certfile, &quot;/home/test/certificates/cert/server/cert.pem&quot;},</div><div>� � � � � � � � � � {keyfile, &quot;/home/test/certificates/cert/server/key.pem&quot;},</div>
<div>� � � � � � � � � � {verify, verify_peer},</div><div>� � � � � � � � � � {fail_if_no_peer_cert, true}]}</div><div>� � � � � �]</div><div>� },</div><div>{rabbitmq_management,</div><div>� [{listener, [{port, 15672},</div>
<div>� � � � � � � �{ssl, �true},</div><div>� � � � � � � �{ssl_opts, [{cacertfile, &quot;/home/test/certificates/cert/testca/cacert.pem&quot;},</div><div>� � � � � � � � � � � � � �{certfile, � &quot;/home/test/certificates/cert/server/cert.pem&quot;},</div>
<div>� � � � � � � � � � � � � �{keyfile, � �&quot;/home/test/certificates/cert/server/key.pem&quot;},</div><div>� � � � � � � � � � � � � �{verify, verify_peer},</div><div>� � � � � � � � � � � � � �{fail_if_no_peer_cert, true}]}</div>
<div>� � � � � � � ]}</div><div>� ]}</div><div>].</div></div><div><br></div><div>Regards,</div><div>Aryan</div></div>