<div dir="ltr"><div>Hi,</div><div><br></div>The only strange thing I see there are the spaces before the config lines. You could try to validate that conf file, which looks like .ini format to me, against and .ini parser and see what's wrong.<div>
<br></div><div>Cheers,</div><div><br></div><div>Alvaro</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 19, 2013 at 12:48 PM, MyOwnFitness <span dir="ltr"><<a href="mailto:myownfitness@gmail.com" target="_blank">myownfitness@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 style="white-space:pre-wrap">        </span>[line 2]: ' hostname = localhost\n'</div>
<div><span style="white-space:pre-wrap">        </span>[line 3]: ' port = 15671\n'</div><div><span style="white-space:pre-wrap">        </span>[line 4]: ' username = guest\n'</div><div><span style="white-space:pre-wrap">        </span>[line 5]: ' password = guest\n'</div>
<div><span style="white-space:pre-wrap">        </span>[line 6]: ' ssl = True\n'</div><div><span style="white-space:pre-wrap">        </span>[line 7]: ' ssl_key_file = /path/to/key.pem\n'</div><div><span style="white-space:pre-wrap">        </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>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>