Watcher gives SSL handshake exception

alerting

(Naveen) #1

This is my input:
"input": {
"http": {
"request": {
"scheme": "https",
"host": "elkrck-vccn007",
"port": 9200,
"method": "get",
"path": "/_cluster/health",
"params": {},
"headers": {},
"auth": {
"basic": {
"username": "elastic",
"password": "::es_redacted::"
}
}
}
}
}

However, it keeps giving me SSL handshake exception saying "sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target".

Has anyone encountered this before?


(Alexander Reelsen) #2

See https://www.elastic.co/guide/en/elasticsearch/reference/6.5/notification-settings.html#ssl-notification-settings

I assume you have security enabled and thus the configured security settings are used for TLS communication?

--Alex