# Hostname/IP does not match certificate's altnames

**URL:** <https://discuss.elastic.co/t/hostname-ip-does-not-match-certificates-altnames/312777>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [August 24, 2022, 8:33am UTC](https://discuss.elastic.co/t/hostname-ip-does-not-match-certificates-altnames/312777 "2022-08-24T08:33:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![it\_dev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/it_dev/32/110019_2.png) [@it\_dev](https://discuss.elastic.co/u/it_dev)\
**Post date:** [August 24, 2022, 8:33am UTC](https://discuss.elastic.co/t/hostname-ip-does-not-match-certificates-altnames/312777/1 "2022-08-24T08:33:54Z")

</div>

I have installed ELK 8 stack fresh.

If I change server's IP address, Kibana says: Kibana server is not ready yet.  
I looked up in the log file, it says:

```auto
Unable to retrieve version information from Elasticsearch nodes. 
Hostname/IP does not match certificate's altnames: IP: 192.168.12.123 is not in the cert's list: ::1, 127.0.0.1, 192.168.12.44, fe80::***

```

How to resolve this?  
I got stuck for 2 days in this problem.  
Certificate was created and generated automatically during setup.

---

<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:** [August 25, 2022, 12:09pm UTC](https://discuss.elastic.co/t/hostname-ip-does-not-match-certificates-altnames/312777/2 "2022-08-25T12:09:55Z")

</div>

That's how TLS works by design so that another server cannot pretend to be you.

If you want to bypass it, you can try configure Kibana with `elasticsearch.ssl.verificationMode: certificate`. Please do note this is less safe than `full` which is the default.

---

<div class="post-metadata">

**Author:** ![it\_dev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/it_dev/32/110019_2.png) [@it\_dev](https://discuss.elastic.co/u/it_dev)\
**Post date:** [August 28, 2022, 6:02am UTC](https://discuss.elastic.co/t/hostname-ip-does-not-match-certificates-altnames/312777/3 "2022-08-28T06:02:58Z")

</div>

Thank you, this worked for me.

---

<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:** [September 25, 2022, 6:03am UTC](https://discuss.elastic.co/t/hostname-ip-does-not-match-certificates-altnames/312777/4 "2022-09-25T06:03:53Z")

</div>

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