I have the same situation. Tried time ago to install x-pack. Issues on configuring / making it running. Then I removed it and now I'm giving another try, without success...
./setup-passwords interactive
Failed to authenticate user 'elastic' against http://10.150.2.116:9302/_xpack/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 /opt/software/elasticsearch-6.1.2/config/elasticsearch.keystore
ERROR: Failed to verify bootstrap password
I've also done a reset of the user elastic:
/opt/software/elasticsearch-6.1.2/bin/x-pack/users useradd my_admin -p my_pwd -r superuser
curl -u my_admin -XPUT 'http://kibana:9302/_xpack/security/user/elastic/_password?pretty' -H 'Content-Type: application/json' -d'
{
"password" : "newpassword"
}
'
How can be fixed it? Please, help.
Marco