[rabbitmq-discuss] rabbitmq.config - ssl & management plugin

Matthias Radestock matthias at rabbitmq.com
Wed Aug 8 03:42:09 BST 2012


On 07/08/12 20:01, DT wrote:
> Has anyone configured the ssl access for management plugin?
>
> This is what I have in the rabbitmq.config file to access plugin management with
> SSL.

You are missing...

1) a '[' here

> {rabbit, [
>   {ssl_listeners, [5671]},
>   {ssl_options, [{cacertfile,"c:/testca/cacert.pem"},
>   {certfile,"c:/server/cert.pem"},
>   {keyfile,"C:/server/key.pem"},
>   {verify,verify_peer},
>   {fail_if_no_peer_cert,false}]}
>   ]}

2) a trailing ',' here

>   {rabbitmq_mochiweb,
>   [{listeners, [{'*', [{port, 55670}]},
>   {mgmt, [{port, 55672},
>   {ssl, true},
>   {ssl_opts, [{cacertfile, "c:/testca/cacert.pem"},
>   {certfile, "C:/server/cert.pem"},
>   {keyfile, "C:/server/key.pem"}]}
>              ]}
>         ]}
>   ]}
>   ].

Matthias.



More information about the rabbitmq-discuss mailing list