You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Could not connect to API id [default]: 3099- ERROR3099 - Invalid credentials
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:
The script should verify what user is configured in the wazuh.yml file, and change the password according to that.
For the Wazuh Ansible deployment, we have to open a new issue in the wazuh-ansible repository to change the default user from wazuh to wazuh-wui for the wazuh.yml file.
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: