[rabbitmq-discuss] rabbitmqadmin.py SSL help

MyOwnFitness myownfitness at gmail.com
Thu Sep 19 22:59:26 BST 2013


Alvaro,

thanks for getting back to me. I tried removing the spaces (same error),
made it look exactly like the example in the help menu just changing my
paths and logins. Its not working.

Do you know of another way to run ssl options with the rabbitmqadmin.py?




On Thu, Sep 19, 2013 at 11:06 AM, Alvaro Videla <videlalvaro at gmail.com>wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/0a204d94/attachment.htm>


More information about the rabbitmq-discuss mailing list