Ok , then you don't need to run setup-passwords
again. You have successfully installed X-Pack, you have set the passwords for your internal users, then you're good to go. To make authenticated requests to Elasticsearch you need to pass the -u
parameter in curl , i.e.
curl -X GET -u elastic "http://10.7.1.61:9200/"
and enter the password you had set once you are prompted