Hi All,
Am trying to enable the xpack security in my elastic stack machine, but iam unable to do so
initially i tried to generate the auto password
using bin/x-pack/setup-passwords auto
i received some default passwords and when i tried to curl
like curl http://localhost:9200 -u elastic and then I entered the password
and it was giving me security exception error even though I tried the generated password.
Later I tried to use interactive
bin/x-pack/setup-passwords interactive
Failed to authenticate user 'elastic' against http://127.0.0.1:9200/_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 /etc/elasticsearch/elasticsearch.keystore
ERROR: Failed to verify bootstrap password
I dont know how to proceed further please do help me
Thanks in advance ,
Raj