# Kibana server is not ready yet

**URL:** https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/326196
**Category:** Kibana
**Tags:** elastic-stack-security, docker
**Created:** [February 22, 2023, 3:50pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/326196 "2023-02-22T15:50:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Umbler\_Casel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umbler_casel/32/117580_2.png) [@Umbler\_Casel](https://discuss.elastic.co/u/Umbler_Casel)
#### Post date: [February 22, 2023, 3:50pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/326196/1 "2023-02-22T15:50:19Z")

</div>

**Kibana Version:** 8.6  
**Elastic Search Version:** 8.6

**Certificate Used:** Rapid SSL SHA1 ( might be the problem, but im not sure )

**OS** : Ubuntu 22.04

**Error:** Kibana presents a message on UI with the following:

"Kibana server is not ready yet."

**Error Log:**

```auto
[2023-02-22T15:05:45.066+00:00][DEBUG][elasticsearch.query.data] [ConnectionError]: unable to get issuer certificate

```

**Troubleshooting Guide:**

Using CA provided by Rapid SSL Website, i can securily "CURL" Elasticsearch address, see below:

```auto
curl --cacert rapid-ssl-ca.pem https://MY_ADDRESS_OF_ELASTIC:9201

{"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}}],"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}},"status":401}

```

But kibana keep throwring errors about certificate. The command above was executed inside kibana container, using the same CA configured over kibana.yml

**Kibana Config File:**

```auto
---
## Default Kibana configuration from kibana-docker.
## https://github.com/elastic/kibana-docker/blob/master/.tedi/template/kibana.yml.j2
#
server.name: kibana_test
server.host: "0.0.0.0"
server.publicBaseUrl: "https://MY_KIBANA_ADDRESS:8080"

# Leastic Search config
elasticsearch.hosts: ["https://MY_ELASTIC_ADDRESS:9201"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "MYPASSWORD"
elasticsearch.ssl.certificateAuthorities: ["/usr/share/elasticsearch/certs/rapid-ssl-ca.pem"]

# X-Pack security credentials
xpack.monitoring.ui.container.elasticsearch.enabled: true
xpack.encryptedSavedObjects.encryptionKey: ENC_KEY
xpack.reporting.encryptionKey: ENC_KEY
xpack.security.encryptionKey: ENC_KEY

# SSL Configuration
server.ssl.enabled: true
server.ssl.key: /usr/share/elasticsearch/certs/elastic.key
server.ssl.certificate: /usr/share/elasticsearch/certs/elastic.crt
server.ssl.certificateAuthorities: ["/usr/share/elasticsearch/certs/rapid-ssl-ca.pem"]

logging.root: true
logging.root.level: debug

```

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 22, 2023, 10:11pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/326196/2 "2023-02-22T22:11:04Z")

</div>

What do your Kibana logs show?

---

<div class="post-metadata">

### Author: ![Umbler\_Casel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/umbler_casel/32/117580_2.png) [@Umbler\_Casel](https://discuss.elastic.co/u/Umbler_Casel)
#### Post date: [February 22, 2023, 10:14pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/326196/3 "2023-02-22T22:14:04Z")

</div>

Always same message:

```auto
[2023-02-22T15:05:59.509+00:00][DEBUG][metrics.ops] memory: 217.4MB uptime: 0:07:21 load: [0.53,0.76,0.81] mean delay: 10.098 delay histogram: { 50: 10.093; 95: 10.166; 99: 10.559 }
[2023-02-22T15:05:59.666+00:00][DEBUG][elasticsearch.query.data] [ConnectionError]: unable to get issuer certificate
[2023-02-22T15:06:00.712+00:00][DEBUG][elasticsearch.query.data] [ConnectionError]: unable to get issuer certificate
[2023-02-22T15:06:01.463+00:00][DEBUG][elasticsearch.query.data] [ConnectionError]: unable to get issuer certificate
[2023-02-22T15:06:01.753+00:00][DEBUG][elasticsearch.query.data] [ConnectionError]: unable to get issuer certificate
[2023-02-22T15:06:02.798+00:00][DEBUG][elasticsearch.query.data] [ConnectionError]: unable to get issuer certificate
[2023-02-22T15:06:03.838+00:00][DEBUG][elasticsearch.query.data] [ConnectionError]: unable to get issuer certificate
[2023-02-22T15:06:03.960+00:00][DEBUG][elasticsearch.query.data] [ConnectionError]: unable to get issuer certificate

```

---

<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: [March 22, 2023, 10:14pm UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet/326196/4 "2023-03-22T22:14:53Z")

</div>

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