# CA Certificate for Elasticsearch and Kibana in K8s

**URL:** <https://discuss.elastic.co/t/ca-certificate-for-elasticsearch-and-kibana-in-k8s/342733>\
**Category:** Kibana\
**Created:** [September 11, 2023, 10:23am UTC](https://discuss.elastic.co/t/ca-certificate-for-elasticsearch-and-kibana-in-k8s/342733 "2023-09-11T10:23:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esakki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/esakki/32/126509_2.png) [@Esakki](https://discuss.elastic.co/u/Esakki)\
**Post date:** [September 11, 2023, 10:23am UTC](https://discuss.elastic.co/t/ca-certificate-for-elasticsearch-and-kibana-in-k8s/342733/1 "2023-09-11T10:23:57Z")

</div>

Hi All,

Can someone share the steps how to configure certificate for Elasticsearch and Kiabana which is deployed on-prem K8s cluster.

Thanks in advance.  
Kind Regards,  
Esakki

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [September 11, 2023, 6:03pm UTC](https://discuss.elastic.co/t/ca-certificate-for-elasticsearch-and-kibana-in-k8s/342733/2 "2023-09-11T18:03:41Z")

</div>

Hi Esakki. You should look at ["Set up basic security for the Elastic Stack" documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-basic-setup.html).

---

<div class="post-metadata">

**Author:** ![Esakki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/esakki/32/126509_2.png) [@Esakki](https://discuss.elastic.co/u/Esakki)\
**Post date:** [September 12, 2023, 5:31am UTC](https://discuss.elastic.co/t/ca-certificate-for-elasticsearch-and-kibana-in-k8s/342733/3 "2023-09-12T05:31:28Z")

</div>

@nickpeihl Thank you let me go through this, but in the mean time I tried removing the elastic and kibana deployment from my cluster and I tried re-deploying but it's not working means, I'm getting the below status when I checked even after 20 minutes.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/4/b4eb4f0d6191853138814ed2f85ad1704bc36395.png)

before I start the new deployment I have cleaned all nodes (pods), svc, deployments, crds, and k8s namespace as well

Not sure what I'm missing and why it's not working.

Kind Regards,  
Esakki

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [September 13, 2023, 5:05pm UTC](https://discuss.elastic.co/t/ca-certificate-for-elasticsearch-and-kibana-in-k8s/342733/4 "2023-09-13T17:05:33Z")

</div>

Hi Esakki. Sorry, I'm not very familiar with deploying on k8s. You might want to open a new discussion in the [Elastic Cloud on Kubernetes category](https://discuss.elastic.co/c/orchestration/eck/79)

---

<div class="post-metadata">

**Author:** ![Esakki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/esakki/32/126509_2.png) [@Esakki](https://discuss.elastic.co/u/Esakki)\
**Post date:** [September 20, 2023, 2:21pm UTC](https://discuss.elastic.co/t/ca-certificate-for-elasticsearch-and-kibana-in-k8s/342733/5 "2023-09-20T14:21:26Z")

</div>

Thank you @nickpeihl , I have asked the same question there and waiting for the response.

---

<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 18, 2023, 2:22pm UTC](https://discuss.elastic.co/t/ca-certificate-for-elasticsearch-and-kibana-in-k8s/342733/6 "2023-10-18T14:22:23Z")

</div>

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