Hi,
We are trying to make API call as part of watcher action, using webhook to 3rd party application.
When we do that we are getting below 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"
}
],
"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"
We wanted to understand where exactly we configure the certificate to resolve this issue.
We tried to add this in elasticsearch.yml as below:
xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.http.ssl.key: <Key Path>
xpack.http.ssl.certificate: <Certificate Path>
xpack.http.ssl.certificate_authorities: ["<Certificate Path>"]
Thanks
Avy