Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): Using Wazuh version 4.12.0
Describe the issue: Hello, I’m using Wazuh that uses Opensearch in the backend. When I was trying to update my admin Wazuh password, I wrongly used the securityadmin.sh and created a new user with my password. (Was my first time using this script).
Now, I receive this logs in /var/log/wazuh-indexer/wazuh-cluster.log:
[2025-11-11T16:36:52,201][WARN ][o.o.s.a.BackendRegistry ] [node-1] Authentication finally failed for password@123 from 127.0.0.1:44788
Also I updated keystore and I think that it caused the issue. How can I remove this user that actually has the username as the password?
Also I used this at the time to create the user:
echo <CUSTOM_USERNAME> | filebeat keystore add username --stdin --force
echo <CUSTOM_PASSWORD> | filebeat keystore add password --stdin --force
Also if you update the internal users and re run security admin it will override the incorrect run and create the new user correctly which should fix your issue. I have tested this in Wazuh and it worked as expected.