Hello fellow rabbitmq users,
I am checking the possibility to change the location of the erlang-cookie for our RabbitMQ servers.
Reason for this is that in our linux environment, all home directories are NFS shares.
This means that a majority of our deployed RabbitMQ servers will use the same erlang cookie: $HOME/.erlang-cookie as they are running as a particular user. (Same user means same $HOME/.erlang-cookie).
When I read up on the subject, it seems the only option to override the default location is to use the RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="-setcookie cookie" environment variable.
However, this means that the cookie will be visible for anyone with access to the system.
For instance a "ps -ef | grep beam" will show the cookie in cleartext.
The RABBITMQ_ERLANG_COOKIE environment variable seems to be working the way I want, I can provide a path to a file that contains a node specific cookie.
However, using this variable throws warnings; it is deprecated and I assume it will be removed completely in the future?
So, this seems to boil down to either use an insecure solution or stay with the default?
Best Regards,
Thomas