-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to connect to API in Web UI after changing API user passwords using wazuh-passwords-tool.sh #22751
Labels
Comments
UpdateThe script should verify what user is configured in the For the Wazuh Ansible deployment, we have to open a new issue in the |
This was referenced May 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem:
Changing all passwords, including the API user passwords, using:
bash wazuh-passwords-tool.sh -a -au wazuh -ap <wazuh_pass>
results in failing to connect to the API in the health check of the Web UI.
Cause:
The password in /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml is set to the newly created wazuh-wui password but the username is set to 'wazuh'.
Solution:
Changing username in /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml from 'wazuh' to 'wazuh-wui'.
The text was updated successfully, but these errors were encountered: