Eren, thanks for your response,
Please keep in mind that this is a public consult, please hide the sensitive information you may have when sharing screenshots and documents with us. I have reviewed the information sahred, and it seems there is a FATAL Error with the key Karya2023*. It is important to create the Kibana keystores to avoid having the usernames and passwords in plain text. For Instance:
opensearch.username: kibanaserver
opensearch.password: kibanaserver
This documentation can help you:
Setting a keystore in this way:
sudo -u wazuh-dashboard /usr/share/wazuh-dashboard/bin/opensearch-dashboards-keystore create
sudo -u wazuh-dashboard /usr/share/wazuh-dashboard/bin/opensearch-dashboards-keystore add opensearch.username (then type kibanaserver)
sudo -u wazuh-dashboard /usr/share/wazuh-dashboard/bin/opensearch-dashboards-keystore add opensearch.password (then paste the password you were using for kibanaserver)
Usually the passwords can be found in the wazuh-passwords.txt file inside the wazuh-install-files.tar archive. To print them, you can run the following command:
# tar -O -xvf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt
Otherwise, you can also change it, to change the password for a single Wazuh indexer user, run the script with the -u option and indicate the new password with the option -p. The password must have a length between 8 and 64 characters and contain at least one upper case letter, one lower case letter, a number and one of the following symbols: .*+?-. If no password is specified, the script will generate a random one.
bash wazuh-passwords-tool.sh -u admin -p Secr3tP4ssw*rd
This would be the output:
INFO: Generating password hash
WARNING: Password changed. Remember to update the password in the Wazuh dashboard and Filebeat nodes if necessary, and restart the services.
In Wazuh Dashboard, the opensearch.username and opensearch.password settings are stored in the Wazuh dashboard keystore.
You can verify that with the following command:
/usr/share/wazuh-dashboard/bin/opensearch-dashboards-keystore --allow-root list
The expected output is:
opensearch.username
opensearch.password
After changing the kibanaserver password, you need the opensearch.password with the following command:
/usr/share/wazuh-dashboard/bin/opensearch-dashboards-keystore --allow-root add opensearch.password
It will ask you if you want to overwrite the existing configuration and after that, to enter the new password. Once you change that setting, you need to restart the wazuh-dashboard.
The secret variables set in the keystore can be used in this way in the configuration file:
opensearch.username: {DASH_USER}
opensearch.password: {DASH_PASS}
Please let me know if there is any issue following this and please also share the opensearch-dashboard.yml to check the configuration.