# Elasticsearch endpoint is giving me \`My connection to this website is not secured\` on elastic cloud!

**URL:** <https://discuss.elastic.co/t/elasticsearch-endpoint-is-giving-me-my-connection-to-this-website-is-not-secured-on-elastic-cloud/294777>\
**Category:** Elasticsearch\
**Created:** [January 19, 2022, 7:42am UTC](https://discuss.elastic.co/t/elasticsearch-endpoint-is-giving-me-my-connection-to-this-website-is-not-secured-on-elastic-cloud/294777 "2022-01-19T07:42:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hassan\_Shaitou1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hassan_shaitou1/32/99377_2.png) [@Hassan\_Shaitou1](https://discuss.elastic.co/u/Hassan_Shaitou1)\
**Post date:** [January 19, 2022, 7:42am UTC](https://discuss.elastic.co/t/elasticsearch-endpoint-is-giving-me-my-connection-to-this-website-is-not-secured-on-elastic-cloud/294777/1 "2022-01-19T07:42:36Z")

</div>

So I am getting this error `My connection to this website is not secured` when routing to the Elasticsearch endpoint before logging in, after logging in I can see that my elastic endpoint is certified correctly and secured. This is affecting me in the following scenario:

I created a read-only API-KEY to be used securely on the frontend website to call Elasticsearch queries, but it is giving a CERT ERR to a user located in the US, but not to me located in the UAE. Any idea why this is happening? please I need help figuring this out!

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [January 20, 2022, 2:12am UTC](https://discuss.elastic.co/t/elasticsearch-endpoint-is-giving-me-my-connection-to-this-website-is-not-secured-on-elastic-cloud/294777/2 "2022-01-20T02:12:44Z")

</div>

> [@Hassan\_Shaitou1](#):
>
> when routing to the Elasticsearch endpoint

You'll have to explain more what you are doing here. This is a client-side JS query against Elasticsearch or something completely different?

> [@Hassan\_Shaitou1](#):
>
> it is giving a CERT ERR to a user

Also, what is the specific error? We won't be able to guess it.

---

<div class="post-metadata">

**Author:** ![Hassan\_Shaitou1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hassan_shaitou1/32/99377_2.png) [@Hassan\_Shaitou1](https://discuss.elastic.co/u/Hassan_Shaitou1)\
**Post date:** [January 20, 2022, 8:03pm UTC](https://discuss.elastic.co/t/elasticsearch-endpoint-is-giving-me-my-connection-to-this-website-is-not-secured-on-elastic-cloud/294777/3 "2022-01-20T20:03:49Z")

</div>

Okay, sorry for this it was Firewall setup on his laptop blocking the request to Elastic, sorry for causing any problems, and thanks a lot for replying @xeraa ... Have a nice day

---

<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:** [February 17, 2022, 8:04pm UTC](https://discuss.elastic.co/t/elasticsearch-endpoint-is-giving-me-my-connection-to-this-website-is-not-secured-on-elastic-cloud/294777/4 "2022-02-17T20:04:35Z")

</div>

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