# How to disable xpack ssl from helm while deploying Elasticsearch on K8s

**URL:** <https://discuss.elastic.co/t/how-to-disable-xpack-ssl-from-helm-while-deploying-elasticsearch-on-k8s/217958>\
**Category:** Elasticsearch\
**Created:** [February 5, 2020, 10:19am UTC](https://discuss.elastic.co/t/how-to-disable-xpack-ssl-from-helm-while-deploying-elasticsearch-on-k8s/217958 "2020-02-05T10:19:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![biswarup1290dass](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/biswarup1290dass/32/61725_2.png) [@biswarup1290dass](https://discuss.elastic.co/u/biswarup1290dass)\
**Post date:** [February 5, 2020, 10:19am UTC](https://discuss.elastic.co/t/how-to-disable-xpack-ssl-from-helm-while-deploying-elasticsearch-on-k8s/217958/1 "2020-02-05T10:19:26Z")

</div>

Is there a way to disable xpack.security.enabled to false from helm chart during elasticsearch deployment on a K8s cluster?

I am getting the below error while reindexing.

```
"error" : {
    "type" : "s_s_l_handshake_exception",
    "reason" : "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
    "caused_by" : {
      "type" : "validator_exception",
      "reason" : "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
      "caused_by" : {
        "type" : "sun_cert_path_builder_exception",
        "reason" : "unable to find valid certification path to requested target"
      }
    }
  }

```

I am not able to edit the elastisearch.yml on the pods as those files are readonly.

Anyway of doing it through helm?

---

<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:** [March 4, 2020, 10:19am UTC](https://discuss.elastic.co/t/how-to-disable-xpack-ssl-from-helm-while-deploying-elasticsearch-on-k8s/217958/2 "2020-03-04T10:19:30Z")

</div>

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