I’ve tried adding additional users in as per the documentation, I’ve tried enabling and disabling default user in config.xml.
My understanding is that default username is ‘admin’ default password is ‘hivemq’
This is an installation on Windows 11 HiveMQ 4.37.0
Thanks for any help.
Richard
It appears to be a problem when the Enterprise Security Extension is enabled. HiveMQ was adding the ‘DISABLED’ file back into the folder. It was when it did this that I was able to login using the admin / hivemq username / password combination.
As soon as the ESE is enabled, I cannot use it. I believe I need to add a user and role into the postgres DB I’m using but can’t find documentation on how to do this. Any pointers will be appreciated.
Hello @richardj
Thank you for reaching out.
You are correct, the default admin/password will only work when the Enterprise security extension (ESE) is disabled.
When you want to enable access control for your control center, you will need to create respective users and roles.
To create users and roles for the Control Center (CC), you can follow the official HiveMQ documentation and use the helper tool:
HiveMQ ESE Helper Tool - Create Control Center User
Additionally, ensure that your ESE configuration is correctly set up for control center:
HiveMQ ESE Configuration Guide
Following these steps should help resolve the authentication issue. Feel free to reach us in case of any issue or need assistance.
Regards,
Sheetal from HiveMQ Team
Thank you very much, this has worked Regards, Richard
Although this works, the user has limited access. I’ve looked to see how to give HIVEMQ_SUPER_ADMIN rights, but it’s not clear how to do this. Do I need to add an entry into cc_user_permissions table? what is the value for permissions (integer) that represents HIVEMQ_SUPER_ADMIN? Or is this done in a config.xml file? Thank you!
Hi @richardj,
Yes, you are correct! You’ll need to ensure that the required permissions and roles are set up. The corresponding SQL scripts can typically be found at $HIVEMQ_HOME/extensions/hivemq-enterprise-security-extension/scripts/sql/insert
.
Let me know if you need further assistance
Dasha from the HiveMQ Team
Thank you again for your fast response This is now working. Best regards, Richard