Good afternoon,
I am trying to setup a pipeline using HTTP_Poller, and would like to override the SSL requirement, but to no avail. I have tried several option found in forums, but still get the following error:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This is what my input looks like:
input {
http_poller {
urls => {
test1 => {
method => get
url => "https://path_to_API"
ssl => true
ssl_certificate_validation => false
headers => {
API_KEY => "value_of_api_key"
}
}
}
request_timeout => 60
schedule => { every => "10s"}
codec => "json"
}
}
I have played with the values for SSL and SSL_Certificate_Validation, but no luck.
Would anyone know if I can force (like I can in Curl) Http_poller to not do SSL? Thank you in advance for your help.
Sincerely,
RS