# Elastic search did not trust this server's certificate, closing connection

**URL:** <https://discuss.elastic.co/t/elastic-search-did-not-trust-this-servers-certificate-closing-connection/326663>\
**Category:** Elasticsearch\
**Created:** [February 28, 2023, 7:35am UTC](https://discuss.elastic.co/t/elastic-search-did-not-trust-this-servers-certificate-closing-connection/326663 "2023-02-28T07:35:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijay78](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vijay78/32/117388_2.png) [@vijay78](https://discuss.elastic.co/u/vijay78)\
**Post date:** [February 28, 2023, 7:35am UTC](https://discuss.elastic.co/t/elastic-search-did-not-trust-this-servers-certificate-closing-connection/326663/1 "2023-02-28T07:35:08Z")

</div>

Elasticsearch is running successfully but when iam checking the logs its says "http client did not trust this server's certificate, closing connection"

find the log below :  
WARN", "message":"http client did not trust this server's certificate, closing connection

can someone suggest me to fix on this because of this error logstash not able to send the logs

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/9/89c285cc1c2d42e608c69427e6b40b5fb2b73795.png)

---

<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:** [March 28, 2023, 7:35am UTC](https://discuss.elastic.co/t/elastic-search-did-not-trust-this-servers-certificate-closing-connection/326663/2 "2023-03-28T07:35:51Z")

</div>

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