Input HTTP_Poller, HTTPS on the API / untrusted cert

Anyone have any luck with HTTPS on untrusted cert with this plugin?

I am getting a java error "PKIX path building failed" due to an untrusted cert.

PS. trying to use the nagios NCPA plugin to gather perf metrics from systems via the HTTPS listener API.

Hi Charles, I don't believe we expose that functionality yet, but we should. For now you can tell it to use the proper cacert value. Here's a link to the docs on this.

I've just opened a bug to add this feature: Allow users to disable SSL verification · Issue #32 · logstash-plugins/logstash-input-http_poller · GitHub

@CharlesLabri the latest version of logstash-mixin-http_client (which http_poller is based on) fixes this. Would you mind trying to upgrade your version of logstash-mixin-http_client and retrying?

Wow, you're awesome! Thanks!

How do I go about updating the http-mixin-http_client ? I seem to be having some issues where a URL intermittently raises a host not responding issue. I am wondering fi updating the mixing client will fix this issue.

(issue raised in : Http_poller 's weird behavior with polling URLs )

Thanks

Ramdev