# How to Reconfigure the setup-password for the elastic cluster, as we are getting the authentication error for all the users

**URL:** <https://discuss.elastic.co/t/how-to-reconfigure-the-setup-password-for-the-elastic-cluster-as-we-are-getting-the-authentication-error-for-all-the-users/259219>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [December 21, 2020, 6:36am UTC](https://discuss.elastic.co/t/how-to-reconfigure-the-setup-password-for-the-elastic-cluster-as-we-are-getting-the-authentication-error-for-all-the-users/259219 "2020-12-21T06:36:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KunwarAkanksha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kunwarakanksha/32/79144_2.png) [@KunwarAkanksha](https://discuss.elastic.co/u/KunwarAkanksha)\
**Post date:** [December 21, 2020, 6:36am UTC](https://discuss.elastic.co/t/how-to-reconfigure-the-setup-password-for-the-elastic-cluster-as-we-are-getting-the-authentication-error-for-all-the-users/259219/1 "2020-12-21T06:36:48Z")

</div>

Enabling xpack.security.enabled to true alone was not enough to start the elasticsearch, as it was giving the error, so we have generated the certificates and deployed it to all the nodes of elastic cluster and kibana using the official sites steps:

Our Elasticsearch.yml is like ---\>  
xpack.security.enabled: true  
xpack.security.transport.ssl.enabled: true  
xpack.security.http.ssl.enabled: true  
xpack.security.http.ssl.verification\_mode: certificate  
xpack.security.http.ssl.keystore.path: /etc/elasticsearch/elastic-certificates.p12  
xpack.security.http.ssl.truststore.path: /etc/elasticsearch/elastic-certificates.p12  
#To Enable TLS layer Security  
xpack.security.transport.ssl.verification\_mode: certificate  
xpack.security.transport.ssl.keystore.path: /etc/elasticsearch/elastic-certificates.p12  
xpack.security.transport.ssl.truststore.path: /etc/elasticsearch/elastic-certificates.p12

and our kibana.yml --\>

elasticsearch.hosts: ["[https://192.168.144.167:9200](https://192.168.144.167:9200)", "[https://192.168.144.177:9200](https://192.168.144.177:9200)"]  
server.ssl.enabled: true  
server.ssl.certificate: /etc/kibana/instance/instance.crt  
server.ssl.key: /etc/kibana/instance/instance.key  
xpack.monitoring.elasticsearch.ssl.verificationMode: certificate

After this we tried setting the ./elasticsearch-setup-passwords interactive --verbose  
which gave us error for apm\_system user but I guess the password is set for the cluster, but using the same password we are not able to access any node. Do we missed any thing in the step ? and how to resolve this issue now.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [December 21, 2020, 9:57am UTC](https://discuss.elastic.co/t/how-to-reconfigure-the-setup-password-for-the-elastic-cluster-as-we-are-getting-the-authentication-error-for-all-the-users/259219/2 "2020-12-21T09:57:57Z")

</div>

You need to check the Elasticsearch logs.

I suspect that your cluster didn't form correctly, but without logs we're just guessing.

---

<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:** [January 18, 2021, 9:57am UTC](https://discuss.elastic.co/t/how-to-reconfigure-the-setup-password-for-the-elastic-cluster-as-we-are-getting-the-authentication-error-for-all-the-users/259219/3 "2021-01-18T09:57:59Z")

</div>

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