Skip to content

The .erlang.cookie file content does not have the expected initial value. #3353

Answered by michaelklishin
myesn asked this question in Other
Discussion options

You must be logged in to vote

Starting with 3.9.4, RABBITMQ_ERLANG_COOKIE can be used to override the value used by a node. It is not used to populate the cookie file. If you want to populate it, use an appropriate secret mechanism. Using an environment variable is a terribly insecure way to go about it.

Most likely the file is created by CLI tools that are not given any value explicitly using --erlang-cookie, and instead rely on the blank default value which means the runtime creates the file.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by myesn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3351 on September 01, 2021 01:45.