# Error shows "Kibana server is not ready yet" after TLS configuration

**URL:** <https://discuss.elastic.co/t/error-shows-kibana-server-is-not-ready-yet-after-tls-configuration/287484>\
**Category:** Kibana\
**Tags:** elastic-stack-security, elastic-stack-alerting\
**Created:** [October 23, 2021, 6:29am UTC](https://discuss.elastic.co/t/error-shows-kibana-server-is-not-ready-yet-after-tls-configuration/287484 "2021-10-23T06:29:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shoaib\_Hasan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shoaib_hasan/32/79630_2.png) [@Shoaib\_Hasan](https://discuss.elastic.co/u/Shoaib_Hasan)\
**Post date:** [October 23, 2021, 6:29am UTC](https://discuss.elastic.co/t/error-shows-kibana-server-is-not-ready-yet-after-tls-configuration/287484/1 "2021-10-23T06:29:13Z")

</div>

I did not facing any issue when configured below code:

```auto
xpack.license.self_generated.type: basic
xpack.monitoring.collection.enabled: true
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.monitoring.elasticsearch.collection.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.client_authentication: required
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12

```

But when i enable below code in Elasticsearch then shows in the browser "Kibana server is not ready yet" when I hit URL(192.168.0.171:5601)

```auto
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: http.p12

```

Also share kibana server logs:

```auto
{"type":"log","@timestamp":"2021-10-23T12:08:09+06:00","tags":["warning","plugins","security","config"],"pid":72174,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
{"type":"log","@timestamp":"2021-10-23T12:08:09+06:00","tags":["warning","plugins","reporting","config"],"pid":72174,"message":"Chromium sandbox provides an additional layer of protection, but is not supported for Linux Red Hat Linux 7.9 OS. Automatically setting 'xpack.reporting.capture.browser.chromium.disableSandbox: true'."}
{"type":"log","@timestamp":"2021-10-23T12:08:09+06:00","tags":["info","plugins","monitoring","monitoring"],"pid":72174,"message":"config sourced from: production cluster"}
{"type":"log","@timestamp":"2021-10-23T12:08:10+06:00","tags":["info","savedobjects-service"],"pid":72174,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
{"type":"log","@timestamp":"2021-10-23T12:08:10+06:00","tags":["error","savedobjects-service"],"pid":72174,"message":"Unable to retrieve version information from Elasticsearch nodes."}

```

Kibana server not started properly. How could I solve this problem.  
Have any idea please help me.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 23, 2021, 2:24pm UTC](https://discuss.elastic.co/t/error-shows-kibana-server-is-not-ready-yet-after-tls-configuration/287484/2 "2021-10-23T14:24:32Z")

</div>

Hi @Shoaib_Hasan Welcome to the community. You're almost there...

Did you copy over the Elasticsearch CA and set it in the kibana.yml? Otherwise the http.p12 cert you setup in Elasticsearch.yml will not be recognized / validated by Kibana

In the kibana.yml

```auto
# Optional setting that enables you to specify a path to the PEM file for the certificate
# authority for your Elasticsearch instance.
elasticsearch.ssl.certificateAuthorities: /etc/kibana/elasticsearch-ca.pem

```

I have a complete walkthrough how to set up all this here

> <https://github.com/bvader/howtos/blob/master/basic-security-elasticsearch/README.md>

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 20, 2021, 2:24pm UTC](https://discuss.elastic.co/t/error-shows-kibana-server-is-not-ready-yet-after-tls-configuration/287484/3 "2021-11-20T14:24:42Z")

</div>

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