Changing the RabbitMQ Default Password
If you are getting started with RabbitMQ you are probably going to want to know what the default password is at some point. You are also probably going to want to know how to change that password.
- The default RabbitMQ user is guest.
- The default RabbitMQ password is guest.
The first time this came up and I needed to use it was to access the web GUI management interface. This was reachable here on the local machine that I was running on: http://127.0.0.1:15672/
Change RabbitMQ Default Password - Command Line:
To change the RabbitMQ default password use this command:
rabbitmqctl change_password guest SecretPassword1
This will change the password for the default user ‘guest’.
From the Web GUI
You can also change the default password from the Web GUI.
- Navigate to the Web UI and login. For me this was on my local dev machine: http://127.0.0.1:15672/
- Click on the “Admin” tab.
- Click on the name of the user that you want to change. In this case “guest”.
- Expand the section “Update this user”.
- Enter the new password in each field.
- Click the “Update user” button.
The “Admin” tab: