Hi fellows,
your help is needed. I have installed elasticsearch for the first time on my Alma-Linux9.
That worked so far elastisearch runs on port 9200
tcp6 0 0 :::9200 :::* LISTEN 383870/java
When I try to execute this command:
./elasticsearch-setup-passwords auto
or
./elasticsearch-setup-passwords interactive
I get the following error message: Failed to authenticate user 'elastic' against https://192.168.10.4:9200/_security/_authenticate?pretty
and the browser shows:
{"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication credentials for REST request [/_security/_authenticate]","header":{"WWW-Authenticate":["Basic realm="security" charset="UTF-8"","Bearer realm="security"","ApiKey"]}}],"type":"security_exception","reason":"missing authentication credentials for REST request [/_security/_authenticate]","header":{"WWW-Authenticate":["Basic realm="security" charset="UTF-8"","Bearer realm="security"","ApiKey"]}},"status":401}
Resetting a password also fails with:
Failed to determine the health of the cluster. Cluster health is currently RED.
This means that some cluster data is unavailable and your cluster is not fully functional.
users-list shows:
./elasticsearch-users list
admin : superuser
username : superuser
What must I do to fix that ?
Many thanks in advance
Uli