# I tried to use elastic search from docker (version 8.7.1)

**URL:** <https://discuss.elastic.co/t/i-tried-to-use-elastic-search-from-docker-version-8-7-1/338950>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [July 21, 2023, 1:21pm UTC](https://discuss.elastic.co/t/i-tried-to-use-elastic-search-from-docker-version-8-7-1/338950 "2023-07-21T13:21:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VarshaaSenthilkuar](https://avatars.discourse-cdn.com/v4/letter/v/9e8a1a/32.png) [@VarshaaSenthilkuar](https://discuss.elastic.co/u/VarshaaSenthilkuar)\
**Post date:** [July 21, 2023, 1:21pm UTC](https://discuss.elastic.co/t/i-tried-to-use-elastic-search-from-docker-version-8-7-1/338950/1 "2023-07-21T13:21:04Z")

</div>

docker cp es01:/usr/share/elasticsearch/config/certs/http\_ca.crt .  
used a cmd to generate certificate and stored that in a seperate file in my local system. Later used this cmd (mentioned in documentation)`curl --cacert http_ca.crt -u elastic https://localhost:9200` to check if i can connect to Elasticsearch cluster, but iam getting an error stating that curl: (60) schannel: CertGetCertificateChain trust error CERT\_TRUST\_IS\_UNTRUSTED\_ROOT

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. Iam not able to proceed after this.

And one more doubt should TLS be activated for alert and action in kibana?

---

<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:** [August 18, 2023, 1:21pm UTC](https://discuss.elastic.co/t/i-tried-to-use-elastic-search-from-docker-version-8-7-1/338950/2 "2023-08-18T13:21:19Z")

</div>

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