# Changing elasticsearch/kibana IP address

**URL:** <https://discuss.elastic.co/t/changing-elasticsearch-kibana-ip-address/361233>\
**Category:** Kibana\
**Created:** [June 11, 2024, 10:06am UTC](https://discuss.elastic.co/t/changing-elasticsearch-kibana-ip-address/361233 "2024-06-11T10:06:27Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [June 18, 2024, 3:26pm UTC](https://discuss.elastic.co/t/changing-elasticsearch-kibana-ip-address/361233/9 "2024-06-18T15:26:35Z")

</div>

@maissam_asgari Thank you for such as detailed response and looks like you are doing pretty much everything right.... except for 1 last thing, you are so close.

**It Turns out once you set / create / manually configure security... you can no longer use the token enrollment process to enroll Kibana ....** I wrote this up [here](https://discuss.elastic.co/t/elasticsearch-create-enrollment-token-is-not-possible-without-a-keystore-aka-with-pem-certificates/336136/2).

Ugggh yes sorry about that ☹

So all you need to do is manually configure kibana with the following

```auto
elasticsearch.hosts: ["https://<elastic_ip_or_host>:9200"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "pass"

# The CA you created the elasticsearch HTTP cert with, copy to where you want and reference it
elasticsearch.ssl.certificateAuthorities: /etc/kibana/elasticsearch-ca.pem

```

I think the basic directions are [here](https://www.elastic.co/guide/en/elasticsearch/reference/8.14/security-basic-setup-https.html#encrypt-kibana-elasticsearch)

If you did not setup the `kibana_system` user account you can set it up with the command [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-passwords.html)

Let us know if it works...

---

_[View the full topic](https://discuss.elastic.co/t/changing-elasticsearch-kibana-ip-address/361233)._
