Kibana server is not ready yet

As an attempt to secure communications from beats to elasticsearch, I've followed this "Securing ES with HTTP" part of the guide and as part 4 says, I've followed the readme for kibana by adding these lines to kibana.yml

elasticsearch.hosts: ["https://localhost:9200"]
elasticsearch.ssl.certificateAuthorities: [ "/usr/share/elasticsearch/kibana/elasticsearch-ca.pem" ]

I then restarted ElasticSearch and Kibana but now when I try to enter kibana from the browser I get Kibana server is not ready yet. This is the log from kibana:

 kibana[13308]: {"type":"log","@timestamp":"2020-08-03T09:55:52Z","tags":["warning","elasticsearch","admin"],"pid":13308,"message":"Unable to revive connection: https://localhost:9200/"

Just for troubleshooting, in kibana.yml, it works if I add

elasticsearch.ssl.verificationMode: none

Am I missing something that it can't reach the connection? I gave it the correct .pem. Huge thanks ahead

EDIT: SOLVED:

All I had to do is change from https:localhost:9200 to https:domain.name:9200 in kibana.yml

All I had to do is change from https:localhost:9200 to https:domain.name:9200 in kibana.yml

1 Like

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