# Kibana setup with elasticsearch 8.4.3

**URL:** <https://discuss.elastic.co/t/kibana-setup-with-elasticsearch-8-4-3/318792>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [November 13, 2022, 9:46am UTC](https://discuss.elastic.co/t/kibana-setup-with-elasticsearch-8-4-3/318792 "2022-11-13T09:46:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suraj\_Jannu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suraj_jannu/32/112902_2.png) [@Suraj\_Jannu](https://discuss.elastic.co/u/Suraj_Jannu)\
**Post date:** [November 13, 2022, 9:46am UTC](https://discuss.elastic.co/t/kibana-setup-with-elasticsearch-8-4-3/318792/1 "2022-11-13T09:46:24Z")

</div>

Hello,

I am setting up the Kibana and Elasticseach instances in AWS with version 8.4.3.  
The Elasticsearch instance is up and running. While configuring the kibana I have set the following properties.

```auto
server.host: 0.0.0.0
server.port: 5601
elasticsearch.hosts: ["https://< ELASTIC_SEARCH_IP_ADDRESS>:9200"]
elasticsearch.serviceAccountToken: "ELASTIC_SEARCH_TOKEN_FOR_KIBANA"

```

I used this command to get the token:

```auto
sudo /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana

```

Got this error during kibana startup.

```auto
[ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. self signed certificate in certificate chain

```

But still, the Kibana shows **"Kibana server is not ready yet."**.  
Could you please let me know the solutions for the same?

Thanks and regards,  
Suraj Jannu

---

<div class="post-metadata">

**Author:** ![Yang\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yang_wang/32/48857_2.png) [@Yang\_Wang](https://discuss.elastic.co/u/Yang_Wang)\
**Post date:** [November 14, 2022, 12:38am UTC](https://discuss.elastic.co/t/kibana-setup-with-elasticsearch-8-4-3/318792/2 "2022-11-14T00:38:14Z")

</div>

The kibana enrollment token (the one you generated with the CLI tool) is not the same thing as the serviceAccountToken (the one you configured in `kibana.yml` file). For enrollilng kibana using the enrollment token, please refer to this [documentation page](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-stack-security.html#stack-start-with-security).

---

<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:** [December 12, 2022, 12:38am UTC](https://discuss.elastic.co/t/kibana-setup-with-elasticsearch-8-4-3/318792/3 "2022-12-12T00:38:30Z")

</div>

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