white-horse-97256
03/10/2023, 3:29 AMCaused by: <http://javax.net|javax.net>.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
this exception for Elastic Search. I have also included all the keystore/trusttore values in helm config: Can someone please help me on this....I have been struggling on this for a week now!
- name: ELASTICSEARCH_HOST
value: "{{ .Values.global.elasticsearch.host }}"
- name: ELASTICSEARCH_PORT
value: "{{ .Values.global.elasticsearch.port }}"
- name: SKIP_ELASTICSEARCH_CHECK
value: "{{ .Values.global.elasticsearch.skipcheck }}"
{{- with .Values.global.elasticsearch.useSSL }}
- name: ELASTICSEARCH_USE_SSL
value: {{ . | quote }}
{{- end }}
{{- with .Values.global.elasticsearch.auth }}
- name: ELASTICSEARCH_USERNAME
value: {{ .username }}
- name: ELASTICSEARCH_PASSWORD
{{- if .password.value }}
value: {{ .password.value | quote }}
{{- else }}
valueFrom:
secretKeyRef:
name: "{{ .password.secretRef }}"
key: "{{ .password.secretKey }}"
{{- end }}
{{- end }}
- name: ELASTICSEARCH_SSL_PROTOCOL
value: "{{ .Values.elastic.protocol }}"
- name: ELASTICSEARCH_SSL_TRUSTSTORE_FILE
value: "{{ .Values.elastic.truststore }}"
- name: ELASTICSEARCH_SSL_TRUSTSTORE_TYPE
value: "{{ .Values.elastic.trustType }}"
- name: ELASTICSEARCH_SSL_TRUSTSTORE_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.elastic.secretEnv.secretRef }}
key: {{ .Values.elastic.secretEnv.secretKey }}
- name: ELASTICSEARCH_SSL_KEYSTORE_FILE
value: "{{ .Values.elastic.keystore }}"
- name: ELASTICSEARCH_SSL_KEYSTORE_TYPE
value: "{{ .Values.elastic.trustType }}"
- name: ELASTICSEARCH_SSL_KEYSTORE_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.elastic.secretEnv.secretRef }}
key: {{ .Values.elastic.secretEnv.secretKey }}
delightful-ram-75848
03/10/2023, 7:28 AMwhite-horse-97256
03/10/2023, 5:39 PMwhite-horse-97256
03/10/2023, 6:52 PMwhite-horse-97256
03/10/2023, 6:53 PMastonishing-answer-96712
03/17/2023, 4:41 PMbest-midnight-2857
04/05/2023, 12:03 PMaloof-gpu-11378
04/07/2023, 8:59 PMbest-midnight-2857
04/08/2023, 9:33 AMaloof-gpu-11378
04/12/2023, 6:35 PM