[rabbitmq-discuss] rabbitmqadmin.py SSL help
Alvaro Videla
videlalvaro at gmail.com
Thu Sep 19 19:06:38 BST 2013
Hi,
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.
Cheers,
Alvaro
On Thu, Sep 19, 2013 at 12:48 PM, MyOwnFitness <myownfitness at gmail.com>wrote:
> 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!
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130919/5194b9c9/attachment.htm>
More information about the rabbitmq-discuss
mailing list