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

Enabling 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 ---> true true true certificate /etc/elasticsearch/elastic-certificates.p12 /etc/elasticsearch/elastic-certificates.p12
#To Enable TLS layer Security certificate /etc/elasticsearch/elastic-certificates.p12 /etc/elasticsearch/elastic-certificates.p12

and our kibana.yml -->

elasticsearch.hosts: ["", ""]
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.

You need to check the Elasticsearch logs.

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

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