Synchronizing the Erlang Cookies
Two Erlang security cookies are created when RabbitMQ is installed. The cookies used by the service account and the user must contain the same strings. To ensure that the Erlang cookie files are synchronized, copy the .erlang.cookie file from the Windows directory to the Users directory, replacing the cookie file that was already there.
File name | From this directory | To this directory |
---|---|---|
.erlang.cookie |
Windows system directory (%USERPROFILE%) Example
C:\Windows\system32\config\systemprofile\ |
User’s home directory (%HOMEDRIVE%%HOMEPATH%) Example
C:\Users\<install user>\ Note
Refers to the user running the commands, such as rabbitmqctl.bat. |