<div dir="ltr"><div>Hi All,</div><div><br></div><div>I have been having some issues running rabbitmqadmin.py ever since enabling SSL. I was wondering if i could get some extra eyes to see what i am missing, or if other people are having the same issues. </div>
<div><br></div><div>Here is the setup:</div><div><br></div><div>RabbitMQ version: 3.1.3</div><div>Erlang: 16B</div><div><br></div><div>*** Some of the following has been changed aka certs names/paths and UN/PW ***</div><div>
<br></div><div>I tried follwing the "rabbitmqadmin.py help config" page, but i keep recieving this error message when running the command following:</div><div><br></div><div>Here is how i tried to exectue the command:</div>
<div><br></div><div>python rabbitmqadmin.py -c rabbitmqadmin.conf -N host_ssl</div><div><br></div><div>python rabbitmqadmin.py -c rabbitmqadmin.conf -N host_ssl list nodes</div><div><br></div><div>But i always receive the same error.</div>
<div><br></div><div>ERROR: Could not read section 'host_ssl' in config file 'rabbitmqadmin.conf':</div><div> File contains parsing errors: rabbitmqadmin.conf</div><div><span class="" style="white-space:pre">        </span>[line 2]: ' hostname = localhost\n'</div>
<div><span class="" style="white-space:pre">        </span>[line 3]: ' port = 15671\n'</div><div><span class="" style="white-space:pre">        </span>[line 4]: ' username = guest\n'</div><div><span class="" style="white-space:pre">        </span>[line 5]: ' password = guest\n'</div>
<div><span class="" style="white-space:pre">        </span>[line 6]: ' ssl = True\n'</div><div><span class="" style="white-space:pre">        </span>[line 7]: ' ssl_key_file = /path/to/key.pem\n'</div><div><span class="" style="white-space:pre">        </span>[line 8]: ' ssl_cert_file = /path/to/key.pem\n'</div>
<div><br></div><div>Here is the rabbitmqamdmin.conf:</div><div><br></div><div>[host_ssl]</div><div> hostname = localhost</div><div> port = 15671</div><div> username = guest</div><div> password = guest</div><div> ssl = True</div>
<div> ssl_key_file = /path/to/key.pem</div><div> ssl_cert_file = /path/to/cert.pem</div><div><br></div><div><br></div><div>Any help would be greatly appreciated!</div><div><br></div><div>Thanks!</div></div>