Hi Bitemir,
What is the version of your Wazuh indexer?
There was a bug related to this error, which was resolved on 4.9.1
https://github.com/wazuh/wazuh-indexer/issues/427
Is your indexer service up and running?
systemctl status wazuh-indexer
If the indexer is up and running, share the output of this command.
filebeat test output
To
validate the indexer certificate, you could check this command.
curl -u admin:<admin_pass> --cacert <path.pem> --cert <path-client.pem> --key <path-client-key.pem> -X GET "https://<IP>:9200/_cluster/health"
Can you check if you have all five certificates in this folder?
The right permission and ownership will be this:
chmod 500 /etc/wazuh-indexer/certs
chmod 400 /etc/wazuh-indexer/certs/*
chown -R wazuh-indexer:wazuh-indexer /etc/wazuh-indexer/certs
Next, check the indexer config file to see if you have the right certificate name.
/etc/wazuh-indexer/opensearch.yml
If you still face this issue, share the output of these commands
ll /etc/wazuh-indexer/certs
cat /etc/wazuh-indexer/opensearch.yml
openssl x509 -in /etc/wazuh-indexer/certs/root-ca.pem -text -noout
Looking forward to your update on the issue.
Sorry for the late response. I was on holiday.
Are you still facing this issue?
If you are getting the cluster health results with this command, then your indexer certificates are fine.
curl -u admin:<admin_pass> --cacert <path.pem> --cert <path-client.pem> --key <path-client-key.pem> -X GET "https://<IP>:9200/_cluster/health
Run the Wazuh indexer indexer-security-init.sh script to load the certificates information again and start the cluster.