# Kibana-to-elastic: reason: unable to verify the first certificate

**URL:** <https://discuss.elastic.co/t/kibana-to-elastic-reason-unable-to-verify-the-first-certificate/346480>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [November 6, 2023, 12:27am UTC](https://discuss.elastic.co/t/kibana-to-elastic-reason-unable-to-verify-the-first-certificate/346480 "2023-11-06T00:27:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![agvsap1](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@agvsap1](https://discuss.elastic.co/u/agvsap1)\
**Post date:** [November 6, 2023, 12:27am UTC](https://discuss.elastic.co/t/kibana-to-elastic-reason-unable-to-verify-the-first-certificate/346480/1 "2023-11-06T00:27:41Z")

</div>

Hi

I have installed elasticsearch:8.5.1 and kibana:8.5.1 in gk1 with kubernetes 1.26. The kibana console when try to access elastic reports this error:

```auto
            We can’t establish a connection to Enterprise Search at the host URL https://elasticsearch-master:9200(opens in a new tab or 
            window) due to the following error:
            
            502 Bad Gateway

```

And the kibana pod reports this error:

```auto
            [2023-11-05T18:14:21.668+00:00][ERROR][plugins.enterpriseSearch] Could not perform access check to Enterprise Search: 
            FetchError: request to https://elasticsearch-master:9200/api/ent/v2/internal/client_config failed, reason: unable to verify the 
            first certificate

```

---

<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 4, 2023, 12:28am UTC](https://discuss.elastic.co/t/kibana-to-elastic-reason-unable-to-verify-the-first-certificate/346480/2 "2023-12-04T00:28:07Z")

</div>

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