Hello,
I successfully changed the password using -
elasticsearch-7.4.2/bin/elasticsearch-setup-passwords interactive
but not able to use the changed password. Authentication is failing.
{
"error" : {
"root_cause" : [
{
"type" : "security_exception",
"reason" : "failed to authenticate user [elastic]",
"header" : {
"WWW-Authenticate" : "Basic realm="security" charset="UTF-8""
}
}
],
"type" : "security_exception",
"reason" : "failed to authenticate user [elastic]",
"header" : {
"WWW-Authenticate" : "Basic realm="security" charset="UTF-8""
}
},
"status" : 401
}
When I try to reset the password again, it is not allowing and getting following message -
Failed to authenticate user 'elastic' against http://192.168.1.24: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 /home/osuser/elasticsearch-7.4.2/config/elasticsearch.keystore
ERROR: Failed to verify bootstrap password
Any pointer on what is going on here.
Thanks in advance.