I'm working on a new proof-of-concept deployment with a self-managed, single-node cluster. After encrypting traffic between Kibana and Elasticsearch (using this documentation), I'm now unable to access Kibana.
- When attempting to access via https://localhost:5601 (as set in kibana.yml), I get
ERR_SSL_PROTOCOL_ERROR
- When attempting to access via http://localhost:5601, I get
Kibana server is not ready yet
I have verbose logging enabled, and the kibana.log
says:
{"type":"log","@timestamp":"2021-08-12T13:42:14-07:00","tags":["warning","elasticsearch"],"pid":6740, "message":"Unable to revive connection: https://localhost:9200/"}
{"type":"log","@timestamp":"2021-08-12T13:42:14-07:00","tags":["warning","elasticsearch"],"pid":6740, "message":"No living connections"}
{"type":"log","@timestamp":"2021-08-12T13:42:14-07:00","tags":["warning","elasticsearch"],"pid":6740, "message":"License information could not be obtained from Elasticsearch due to Error: No Living connections error"}
My kibana.yml file has the following settings (again, based on Elastic docs):
server.port: 5601
server.host: "localhost"
server.name: "PoC-Kibana"
elasticsearch.hosts: https://localhost:9200
kibana.index: ".kibana"
elasticsearch.username: "kibana_system"
xpack.encryptedSevedObjects.encryptionKey: '<encryption-key>'
elasticsearch.ssl.certificate: C:\kibana-7.12.0-windows-x86_64\config\elasticsearch-ca.pem
logging.dest: "C:\\Elastic\\Kibana\\Logs\\kibana.log"
logging.verbose: true