I lost my "elastic" user password and now I am unable to change.
Error I am getting when I run below mention command.
root@siem:/usr/share/elasticsearch/bin# ./elasticsearch-setup-passwords interactive
Failed to authenticate user 'elastic' against http://192.168.1.58:9200/_security/_authenticate?pretty
Possible causes include:
- The password for the 'elastic' user has already been changed on this cluster
- Your elasticsearch node is running against a different keystore
This tool used the keystore at /etc/elasticsearch/elasticsearch.keystore
ERROR: Failed to verify bootstrap password
Thank you,
Bhargav