# What is the best aproach to add self-sign certificate to Elasticsearch Kubernetes

**URL:** https://discuss.elastic.co/t/what-is-the-best-aproach-to-add-self-sign-certificate-to-elasticsearch-kubernetes/343760
**Category:** Elasticsearch
**Created:** [September 25, 2023, 12:59pm UTC](https://discuss.elastic.co/t/what-is-the-best-aproach-to-add-self-sign-certificate-to-elasticsearch-kubernetes/343760 "2023-09-25T12:59:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![astingengo](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@astingengo](https://discuss.elastic.co/u/astingengo)
#### Post date: [September 25, 2023, 12:59pm UTC](https://discuss.elastic.co/t/what-is-the-best-aproach-to-add-self-sign-certificate-to-elasticsearch-kubernetes/343760/1 "2023-09-25T12:59:32Z")

</div>

I deployed Elasticsearch in Kubernetes and I'm trying to backup it to an S3 Instance that has a self sign certificate.

What would be the best approach to do so [having Elasticsearch in Kubernetes]?

I tried to import the certificate into cacerts from an initcontainer but that seems to not work

---

<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, 2023, 11:23am UTC](https://discuss.elastic.co/t/what-is-the-best-aproach-to-add-self-sign-certificate-to-elasticsearch-kubernetes/343760/3 "2023-10-25T11:23:27Z")

</div>

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