# Elasticsearch curl error

**URL:** <https://discuss.elastic.co/t/elasticsearch-curl-error/318391>\
**Category:** Elasticsearch\
**Created:** [November 8, 2022, 6:55am UTC](https://discuss.elastic.co/t/elasticsearch-curl-error/318391 "2022-11-08T06:55:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thepawankumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thepawankumar/32/113075_2.png) [@thepawankumar](https://discuss.elastic.co/u/thepawankumar)\
**Post date:** [November 8, 2022, 6:55am UTC](https://discuss.elastic.co/t/elasticsearch-curl-error/318391/1 "2022-11-08T06:55:01Z")

</div>

curl -X GET -u something:PASSWD [https://20.197.3.229:5500](https://20.197.3.229:5500)  
curl: (60) SSL certificate problem: self signed certificate in certificate chain  
More details here: [curl - SSL CA Certificates](https://curl.haxx.se/docs/sslcerts.html)

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.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 8, 2022, 7:14am UTC](https://discuss.elastic.co/t/elasticsearch-curl-error/318391/2 "2022-11-08T07:14:04Z")

</div>

Did you try adding the `-k` flag to your curl command?

---

<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 6, 2022, 7:14am UTC](https://discuss.elastic.co/t/elasticsearch-curl-error/318391/3 "2022-12-06T07:14:08Z")

</div>

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