X-pack 6.0 Built-in password is not allow to login kibana

According to the official website of the latest tutorial, I tried a new installation of the 6.0 version of my server aws, using aws linux system, elasticsearch and kibana are installed on a machine, but my kibana can not start the login function, the following is my Installation process:

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.0.0.rpm
rpm -ivh elasticsearch-6.0.0.rpm

wget https://artifacts.elastic.co/downloads/kibana/kibana-6.0.0-x86_64.rpm
rpm -ivh kibana-6.0.0-x86_64.rpm

service elasticsearch start
/usr/share/elasticsearch/bin/elasticsearch-plugin install x-pack
/usr/share/elasticsearch/bin/x-pack/setup-passwords auto

/usr/share/kibana/bin/kibana-plugin install x-pack

this is my setup-passwords, and my modify kibana.yml elasticsearch.username, elasticsearh.password

/usr/share/elasticsearch/bin/x-pack/setup-passwords auto
Initiating the setup of reserved user elastic,kibana,logstash_system passwords.
The passwords will be randomly generated and printed to the console.
Please confirm that you would like to continue [y/N]y

Changed password for user kibana
PASSWORD kibana = aiQTxnjMwknwnF42-7wB

Changed password for user logstash_system
PASSWORD logstash_system = 2ygbHwG#R4sr*Ikv3hAB

Changed password for user elastic
PASSWORD elastic = dh33f3t%B$%q#inok?ek

this is kibana log error

Login is currently disabled. Administrators should consult the Kibana logs for more details.

I have been tossing for 2 days, asking for help, thank you very much!

my modify kibana.yml

What exactly did you put in your kibana.yml ?

Administrators should consult the Kibana logs for more details.

What do the Kibana logs say?

elasticsearch.username: "xxx"
elasticsearch.password: "xxx"

my set kibana.yml the setup-passwords elasitc user and pass

You shouldn't use the elastic user for connecting Kibana to Elasticsearch. That is what thekibana user is for. The elastic user has superuser privileges and it is not a good idea to run Kibana with those privileges.

Kibana will default to using the kibana user, so you just need to configure the elasticsearch.password setting to match the Kibana user's password.

However the issue here is that you have a connectivity issue between Kibana and Elasticsearch, and to diagnose that, we need to see the Kibana logs.

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