# Authentication issue with elastic user

**URL:** <https://discuss.elastic.co/t/authentication-issue-with-elastic-user/206702>\
**Category:** Elasticsearch\
**Created:** [November 6, 2019, 1:31am UTC](https://discuss.elastic.co/t/authentication-issue-with-elastic-user/206702 "2019-11-06T01:31:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![learnelastic](https://avatars.discourse-cdn.com/v4/letter/l/ee7513/32.png) [@learnelastic](https://discuss.elastic.co/u/learnelastic)\
**Post date:** [November 6, 2019, 1:31am UTC](https://discuss.elastic.co/t/authentication-issue-with-elastic-user/206702/1 "2019-11-06T01:31:37Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 4, 2019, 1:31am UTC](https://discuss.elastic.co/t/authentication-issue-with-elastic-user/206702/2 "2019-12-04T01:31:52Z")

</div>

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