# Unable to find certificate for ca\_cert argument while connecting to kibana (for developer)

**URL:** <https://discuss.elastic.co/t/unable-to-find-certificate-for-ca-cert-argument-while-connecting-to-kibana-for-developer/314377>\
**Category:** Kibana\
**Created:** [September 14, 2022, 7:29am UTC](https://discuss.elastic.co/t/unable-to-find-certificate-for-ca-cert-argument-while-connecting-to-kibana-for-developer/314377 "2022-09-14T07:29:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azhar\_Uddin1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azhar_uddin1/32/98900_2.png) [@Azhar\_Uddin1](https://discuss.elastic.co/u/Azhar_Uddin1)\
**Post date:** [September 14, 2022, 7:29am UTC](https://discuss.elastic.co/t/unable-to-find-certificate-for-ca-cert-argument-while-connecting-to-kibana-for-developer/314377/1 "2022-09-14T07:29:43Z")

</div>

When downloading `elastic kibana` for [here](https://www.elastic.co/downloads/elasticsearch)  
we were getting the `certificate` in a `terminal` which look like below

```auto
HTTP CA certificate SHA-256 fingerprint:
  a52dd93511e8c6045e21f16654b77c9ee0f34aea26d9f40320b531c474676228

```

I can connect with `elastic` using `python` easily like

```auto
ca_certs = "a52dd93511e8c6045e21f16654b77c9ee0f34aea26d9f40320b531c474676228"
client = Elasticsearch(hosts=uri, basic_auth=(username, password), ca_certs=ca_certs)

```

but when I use `kibana` for ( **Developer Guide** ) no such `certificate` is been shown in `terminal`  
that's the reason I am unable to connect it via `python`

I also did try to use `certificate` inside the file `elasticsearch.crt` and `kibana.crt` but it's not working

how can or where can i find the `certificate`?

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [September 26, 2022, 5:37pm UTC](https://discuss.elastic.co/t/unable-to-find-certificate-for-ca-cert-argument-while-connecting-to-kibana-for-developer/314377/2 "2022-09-26T17:37:43Z")

</div>

Can you please check the Kibana logs under `/var/log/kibana/kibana.log` as it will contain more information on what is happening.

Have you tried the `elasticsearch-certutil` command simplifies the creation of certificates for use with Transport Layer Security (TLS) in the Elastic Stack.

> **[elasticsearch-certutil | Elasticsearch Guide \[8.4\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html#certutil-cert)**

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Azhar\_Uddin1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azhar_uddin1/32/98900_2.png) [@Azhar\_Uddin1](https://discuss.elastic.co/u/Azhar_Uddin1)\
**Post date:** [September 27, 2022, 9:07am UTC](https://discuss.elastic.co/t/unable-to-find-certificate-for-ca-cert-argument-while-connecting-to-kibana-for-developer/314377/3 "2022-09-27T09:07:28Z")

</div>

> [@rashmi](#):
>
> Have you tried the `elasticsearch-certutil` command simplifies the creation of certificates

I did but the cert which is generating seems to be invalid when trying to pass here

> [@Azhar\_Uddin1](#):
>
> `client = Elasticsearch(hosts=uri, basic_auth=(username, password), ca_certs=ca_certs)`

---

<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:** [October 25, 2022, 9:07am UTC](https://discuss.elastic.co/t/unable-to-find-certificate-for-ca-cert-argument-while-connecting-to-kibana-for-developer/314377/4 "2022-10-25T09:07:29Z")

</div>

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