# Unable to connect to elastic search with certificates

**URL:** <https://discuss.elastic.co/t/unable-to-connect-to-elastic-search-with-certificates/348325>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [November 30, 2023, 10:48am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elastic-search-with-certificates/348325 "2023-11-30T10:48:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrikar18](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shrikar18/32/128334_2.png) [@shrikar18](https://discuss.elastic.co/u/shrikar18)\
**Post date:** [November 30, 2023, 10:48am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elastic-search-with-certificates/348325/1 "2023-11-30T10:48:52Z")

</div>

hi everyone ,  
iam new to elasticsearch  
i have Elasticsearch deployed as pod and iam trying to check the status with a curl command  
i used https  
curl --cacert /root/http\_ca.crt -u elastic:$ELASTIC\_PASSWORD protocol://ip:9200  
it says  
i get  
curl: (60) SSL certificate problem: self signed certificate in certificate chain

curl failed to verify the legitimacy of the server and therefore could not  
establish a secure connection to it. To learn more about this situation and  
how to fix it, please visit the web page mentioned above.

i just took the http\_ca.crt file provided in the container as said in the documentation

---

<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:** [December 28, 2023, 10:49am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elastic-search-with-certificates/348325/2 "2023-12-28T10:49:24Z")

</div>

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