# Kibana Authentification

**URL:** <https://discuss.elastic.co/t/kibana-authentification/330243>\
**Category:** Kibana\
**Created:** [April 18, 2023, 6:06pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243 "2023-04-18T18:06:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julien069](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Julien069](https://discuss.elastic.co/u/Julien069)\
**Post date:** [April 18, 2023, 6:06pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243/1 "2023-04-18T18:06:11Z")

</div>

Hi,

I'have a problem to authentificating Kibana on Elastic .  
After generating a token on Elastic, Kibana is block on "Server is not ready yet"  
I have two different IP on each server and they ping each other

Changes in configuration are :

elasticsearch.yml

```auto
cluster.name: MY CLUSTER NAME
node.name : NODE 1
network.host:IP_ADRESS_ELASTIC_SERVER
http.port: 9200

```

Kibana.yml :

```auto

server.port: 5601
server.host: "IP_ADRESS_KIBANA_SERVER"
server.name: "KIBANA HOSTNAME"
elasticsearch.hosts: ["httpS://IP_ADRESS_ELASTIC_SERVER:9200"]

```

Have you seen any errors?  
Do you have an idea ?

I specify that the xpack security is "TRUE" on elastic.  
If I set it to "FALSE", Kibana works..

Thanks

Julien

---

<div class="post-metadata">

**Author:** ![Trickster\_Junior](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trickster_junior/32/118211_2.png) [@Trickster\_Junior](https://discuss.elastic.co/u/Trickster_Junior)\
**Post date:** [April 18, 2023, 9:00pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243/2 "2023-04-18T21:00:25Z")

</div>

It happened to me and I don't know if it's your case. But I entered the wrong path where the kibana-server certificate was located.

> **[Set up basic security for the Elastic Stack plus secured HTTPS traffic |...](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/security-basic-setup-https.html#encrypt-kibana-browser)**

---

<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:** [April 18, 2023, 10:20pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243/3 "2023-04-18T22:20:39Z")

</div>

What do your Kibana logs show?

---

<div class="post-metadata">

**Author:** ![Julien069](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Julien069](https://discuss.elastic.co/u/Julien069)\
**Post date:** [April 19, 2023, 3:17pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243/4 "2023-04-19T15:17:50Z")

</div>

Do I need to do a kibana certificate?  
I haven't configured any  
I left the default configuration on Elastic and Kibana (look at the top)

---

<div class="post-metadata">

**Author:** ![Trickster\_Junior](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trickster_junior/32/118211_2.png) [@Trickster\_Junior](https://discuss.elastic.co/u/Trickster_Junior)\
**Post date:** [April 19, 2023, 5:18pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243/5 "2023-04-19T17:18:31Z")

</div>

It is necessary to use "https" instead of "http". It adds an extra layer of security.

---

<div class="post-metadata">

**Author:** ![Julien069](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Julien069](https://discuss.elastic.co/u/Julien069)\
**Post date:** [April 19, 2023, 6:41pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243/6 "2023-04-19T18:41:28Z")

</div>

Yes , but I use the default config , what I have to do ?  
What parameters I have to change ?

If I want to use enrollement-token , I have to do this :

> **[Set up basic security for the Elastic Stack plus secured HTTPS traffic |...](https://www.elastic.co/guide/en/elasticsearch/reference/8.7/security-basic-setup-https.html#encrypt-kibana-browser)**

When I read the installation topics, it's not very clear for me :

> **[elasticsearch-create-enrollment-token | Elasticsearch Guide \[8.6\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.6/create-enrollment-token.html)**

---

<div class="post-metadata">

**Author:** ![Julien069](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Julien069](https://discuss.elastic.co/u/Julien069)\
**Post date:** [April 22, 2023, 7:37pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243/7 "2023-04-22T19:37:03Z")

</div>

Someone can answer me ?  
Is it necessary to use "Set up basic security " for use enrollement-token ?

---

<div class="post-metadata">

**Author:** ![Julien069](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Julien069](https://discuss.elastic.co/u/Julien069)\
**Post date:** [April 24, 2023, 6:27pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243/8 "2023-04-24T18:27:00Z")

</div>

UP UP ! 😁

---

<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:** [May 22, 2023, 6:27pm UTC](https://discuss.elastic.co/t/kibana-authentification/330243/9 "2023-05-22T18:27:05Z")

</div>

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