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?
Try to edit the elasticsearch.yml file from the root user. (sudo vi YOUR_ES_PATH_CONF/elasticsearch.yml)
Change the xpack.security.enabled setting to the ES_PATH_CONF/elasticsearch.yml file.