I've setup PKI realm on ElasticSearch but after that I'm not able to login to Kibana. It shows the following message:
"Login is currently disabled. Administrators should consult the Kibana logs for more details."
log [19:38:59.040] [info][listening] Server running at https://localhost:5601
log [19:38:59.045] [server][uuid][uuid] Resuming persistent Kibana instance UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx
log [19:38:59.050] [error][admin][elasticsearch] Request error, retrying
HEAD https://localhost:9200/ => self signed certificate in certificate chain
log [19:38:59.067] [error][admin][elasticsearch] Request error, retrying
HEAD https://localhost:9200/ => self signed certificate in certificate chain
log [19:38:59.073] [warning][admin][elasticsearch] Unable to revive connection: https://localhost:9200/
log [19:38:59.074] [warning][admin][elasticsearch] No living connections
log [19:38:59.077] [error][status][plugin:xpack_main@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.079] [error][status][plugin:searchprofiler@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.080] [error][status][plugin:ml@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.081] [error][status][plugin:tilemap@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.082] [error][status][plugin:watcher@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.083] [error][status][plugin:index_management@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.086] [error][status][plugin:graph@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.087] [error][status][plugin:security@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.088] [error][status][plugin:grokdebugger@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.091] [error][status][plugin:logstash@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.092] [error][status][plugin:reporting@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.094] [error][status][plugin:elasticsearch@6.3.2] Status changed from yellow to red - Unable to connect to Elasticsearch at https://localhost:9200.
log [19:38:59.096] [debug][license][xpack] Calling [data] Elasticsearch _xpack API. Polling frequency: 30001
log [19:38:59.102] [warning][admin][elasticsearch] Unable to revive connection: https://localhost:9200/
log [19:38:59.104] [warning][admin][elasticsearch] No living connections
log [19:38:59.182] [error][data][elasticsearch] Request error, retrying
GET https://localhost:9200/_xpack => self signed certificate in certificate chain
log [19:38:59.223] [warning][data][elasticsearch] Unable to revive connection: https://localhost:9200/
log [19:38:59.228] [warning][data][elasticsearch] No living connections
log [19:38:59.231] [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Error: No Living connections
log [19:38:59.236] [error][status][plugin:xpack_main@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.242] [error][status][plugin:searchprofiler@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.247] [error][status][plugin:ml@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.251] [error][status][plugin:tilemap@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.258] [error][status][plugin:watcher@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.264] [error][status][plugin:index_management@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.269] [error][status][plugin:graph@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.272] [error][status][plugin:security@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.280] [error][status][plugin:grokdebugger@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.283] [error][status][plugin:logstash@6.3.2] Status changed from red to red - No Living connections
log [19:38:59.286] [error][status][plugin:reporting@6.3.2] Status changed from red to red - No Living connections
log [19:39:01.635] [warning][admin][elasticsearch] Unable to revive connection: https://localhost:9200/
log [19:39:01.639] [warning][admin][elasticsearch] No living connections
log [19:39:01.989] [warning][admin][elasticsearch] Unable to revive connection: https://localhost:9200/
log [19:39:01.992] [warning][admin][elasticsearch] No living connections
..
..
..
error [19:40:05.629] [error][client][connection] Error: socket hang up
at TLSSocket. (_tls_wrap.js:876:25)
at emitOne (events.js:121:20)
at TLSSocket.emit (events.js:211:7)
at _handle.close (net.js:557:12)
at Socket.done (_tls_wrap.js:356:7)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:121:20)
at Socket.emit (events.js:211:7)
at TCP._handle.close [as _onclose] (net.js:557:12)
log [19:40:05.925] [debug][connection] 101057795:error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request:openssl\ssl\s23_srvr.c:397:
log [19:40:05.937] [debug][connection] 101057795:error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request:openssl\ssl\s23_srvr.c:397:
ops [19:40:07.938] memory: 107.3MB uptime: 0:01:18 load: [0.00 0.00 0.00] delay: 8.133
log [19:40:08.023] [warning][admin][elasticsearch] Unable to revive connection: https://localhost:9200/
log [19:40:08.078] [warning][admin][elasticsearch] No living connections