# Filebeat connection to elasticsearch Error

**URL:** <https://discuss.elastic.co/t/filebeat-connection-to-elasticsearch-error/356553>\
**Category:** Beats\
**Tags:** elastic-stack-security, filebeat\
**Created:** [April 1, 2024, 12:19pm UTC](https://discuss.elastic.co/t/filebeat-connection-to-elasticsearch-error/356553 "2024-04-01T12:19:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vlad2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vlad2/32/133161_2.png) [@Vlad2](https://discuss.elastic.co/u/Vlad2)\
**Post date:** [April 1, 2024, 12:19pm UTC](https://discuss.elastic.co/t/filebeat-connection-to-elasticsearch-error/356553/1 "2024-04-01T12:19:04Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/2/9/29c0d09a8a21707a60589065edd637d6623a89e3.png)

---

<div class="post-metadata">

**Author:** ![lesio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesio/32/89323_2.png) [@lesio](https://discuss.elastic.co/u/lesio)\
**Post date:** [April 10, 2024, 4:20pm UTC](https://discuss.elastic.co/t/filebeat-connection-to-elasticsearch-error/356553/2 "2024-04-10T16:20:52Z")

</div>

Hello, I'm not sure what is your question. Since your setup is using `https` certainly you need to have TLS certificates setup correctly. When using in-house root CA you need to provide it to the filebeat to be able to validate the TLS certificate chain, also note that your leaf certificate will have to include the IP '10.0.10.18` otherwise you have to use a matching DNS name instead of the IP. It's also possible to explicitly disable host name verification in ssl settings.

---

<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 8, 2024, 6:21pm UTC](https://discuss.elastic.co/t/filebeat-connection-to-elasticsearch-error/356553/3 "2024-05-08T18:21:13Z")

</div>

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