Failed to authenticate user [elastic] on Kibana v.6.4.0

$ curl -XPUT -u elastic 'localhost:9200/_xpack/security/user/elastic/_password' -H "Content-Type: application/json" -d '{
"password" : “1234”
}'
Enter host password for user 'elastic':
{"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}%

My license is basic but i have used 'trial type'. So i want to give different access to users by using x-pack that is installed by default elastic v6.4.0
I think [elastic]'s default passwd is 'changeme'. but above error appeared.

  1. How can I solve this issue?

  2. How can I initialize x-pack on Elastic,Kibana v6.4.0?

Hi there

There's no default password for the elastic user . You can set the password of the internal users using the setup-passwords utility.

You can read more in our documentation

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.