[rabbitmq-discuss] rabbitmqadmin.py SSL help

MyOwnFitness myownfitness at gmail.com
Thu Sep 19 18:48:58 BST 2013


Hi All,

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.

Here is the setup:

RabbitMQ version: 3.1.3
Erlang: 16B

*** Some of the following has been changed aka certs names/paths and UN/PW
***

I tried follwing the "rabbitmqadmin.py help config" page, but i keep
recieving this error message when running the command following:

Here is how i tried to exectue the command:

python rabbitmqadmin.py -c rabbitmqadmin.conf -N host_ssl

python rabbitmqadmin.py -c rabbitmqadmin.conf -N host_ssl list nodes

But i always receive the same error.

ERROR: Could not read section 'host_ssl' in config file
'rabbitmqadmin.conf':
   File contains parsing errors: rabbitmqadmin.conf
[line  2]: '  hostname = localhost\n'
[line  3]: '  port = 15671\n'
[line  4]: '  username = guest\n'
[line  5]: '  password = guest\n'
[line  6]: '  ssl = True\n'
[line  7]: '  ssl_key_file = /path/to/key.pem\n'
[line  8]: '  ssl_cert_file = /path/to/key.pem\n'

Here is the rabbitmqamdmin.conf:

[host_ssl]
  hostname = localhost
  port = 15671
  username = guest
  password = guest
  ssl = True
  ssl_key_file = /path/to/key.pem
  ssl_cert_file = /path/to/cert.pem


Any help would be greatly appreciated!

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130919/93ebf993/attachment.htm>


More information about the rabbitmq-discuss mailing list