Ssl_certificate_validation not working

ssl_certificate_validation => false is not working in HTTP_Poller configuration.

My service URL is HTTPS but there is no need to pass any certs along with the call. Hence, I wanted to skip it.

Even with the above option enabled, it is checking for SSL certs. What can I do here ?

What error are you getting?

"error" => "PKIX path building failed: sun.security.provider.c
ertpath.SunCertPathBuilderException: unable to find valid certification path to
requested target".

And what does the config look like?

input
{
http_poller
{
urls =>
{
Locations =>
{
method => Get
url => "https://zep-pt.com/WebService/api/getlocations/1234"
headers =>
{
"Content-Type" => "application/json"
}
}
}
ssl_certificate_validation => false
interval => 60
codec => "json"
metadata_target => "http_poller_metadata"
}
}

output
{
stdout
{
codec => rubydebug
}
}

Any update on this Mark Walkom ?

Can anyone provide any solution here ?

Even though you aren't validating the cert, I am pretty sure you still need a client_cert path.

Where should i place my pfx file and what shld i mention in the path ???

This worked fine. I added the certificate to JRE KeyStore.

Since, logstash uses JDK env. cert needs to be installed under JDK KeyStore.