# Hostname/IP does not match certificate’s altnames

**URL:** <https://discuss.elastic.co/t/hostname-ip-does-not-match-certificate-s-altnames/366636>\
**Category:** Kibana\
**Created:** [September 16, 2024, 4:33pm UTC](https://discuss.elastic.co/t/hostname-ip-does-not-match-certificate-s-altnames/366636 "2024-09-16T16:33:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hassan\_developer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hassan_developer/32/137044_2.png) [@hassan\_developer](https://discuss.elastic.co/u/hassan_developer)\
**Post date:** [September 16, 2024, 4:33pm UTC](https://discuss.elastic.co/t/hostname-ip-does-not-match-certificate-s-altnames/366636/1 "2024-09-16T16:33:33Z")

</div>

Hi everyone I a stuck on kibana issue for the last 4 days . Read thru all resolutions however I am still stuck. Installed ELK on AWS instance Elasticsearch working fine seeing this -

 ![ELK-1](https://us1.discourse-cdn.com/elastic/original/3X/2/b/2b5ea10de6228816a33bd718efb3cda5e8eb0d54.jpeg)

However stuck on issue with kibana services here is the latest log down below-  
I just had to stop and restart instance sonce then seeing this error -  
oes not match certificate's altnames: IP: 50.17.74.55 is not in the cert's list: 172.31.16.231,  
\<\>  
[root@ip-172-31-16-231 certs]# tail -f -n 20 /var/log/kibana/kibana.log | grep -i error  
{"service":{"node":{"roles":["background\_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-09-16T16:02:54.203+00:00","message":"Email Service Error: Email connector not specified.","log":{"level":"INFO","logger":"plugins.notifications"},"process":{"pid":4022,"uptime":11.503475428},"trace":{"id":"2256eff18d69d90b2ecc930fcac2f1d0"},"transaction":{"id":"be40c3d6316cd61e"}}  
{"service":{"node":{"roles":["background\_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-09-16T16:03:05.511+00:00","message":"Unable to retrieve version information from Elasticsearch nodes. Hostname/IP does not match certificate's altnames: IP: 50.17.74.55 is not in the cert's list: 172.31.16.231, ::1, 127.0.0.1, fe80::8ff:fbff:fea2:44bb","log":{"level":"ERROR","logger":"elasticsearch-service"},"process":{"pid":4022,"uptime":22.8114745},"trace":{"id":"2256eff18d69d90b2ecc930fcac2f1d0"},"transaction":{"id":"be40c3d6316cd61e"}}`  
\<\>

This is my kibana.yml -

 ![kibana-1](https://us1.discourse-cdn.com/elastic/original/3X/0/1/013e18aebb25fb9339fd31a6ec0f32e197558ca5.jpeg)

 ![kibana-2](https://us1.discourse-cdn.com/elastic/original/3X/2/0/20154d900a2bfd73bec5fbbccd69f235d3fe1c84.jpeg)

 ![kibana-3](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1fd96af7db83455389040fdbe5463ab24ace1958.jpeg)

 ![kibana-4](https://us1.discourse-cdn.com/elastic/original/3X/d/5/d53679c34f20653f23088a32ecd6ae9cd19b4304.jpeg)
