# Input HTTP\_Poller, HTTPS on the API / untrusted cert

**URL:** https://discuss.elastic.co/t/input-http-poller-https-on-the-api-untrusted-cert/25492
**Category:** Logstash
**Created:** [July 14, 2015, 12:45am UTC](https://discuss.elastic.co/t/input-http-poller-https-on-the-api-untrusted-cert/25492 "2015-07-14T00:45:44Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![CharlesLabri](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@CharlesLabri](https://discuss.elastic.co/u/CharlesLabri)
#### Post date: [July 14, 2015, 12:45am UTC](https://discuss.elastic.co/t/input-http-poller-https-on-the-api-untrusted-cert/25492/1 "2015-07-14T00:45:45Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)
#### Post date: [August 5, 2015, 3:09pm UTC](https://discuss.elastic.co/t/input-http-poller-https-on-the-api-untrusted-cert/25492/2 "2015-08-05T15:09:58Z")

</div>

> [@CharlesLabri](#):
>
> I am getting a java error "PKIX path building failed" due to an untrusted cert.

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](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http_poller.html#plugins-inputs-http_poller-cacert).

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](https://github.com/logstash-plugins/logstash-input-http_poller/issues/32)

---

<div class="post-metadata">

### Author: ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)
#### Post date: [August 5, 2015, 9:40pm UTC](https://discuss.elastic.co/t/input-http-poller-https-on-the-api-untrusted-cert/25492/3 "2015-08-05T21:40:27Z")

</div>

@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?

---

<div class="post-metadata">

### Author: ![CharlesLabri](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@CharlesLabri](https://discuss.elastic.co/u/CharlesLabri)
#### Post date: [August 6, 2015, 2:31pm UTC](https://discuss.elastic.co/t/input-http-poller-https-on-the-api-untrusted-cert/25492/4 "2015-08-06T14:31:37Z")

</div>

Wow, you're awesome! Thanks!

---

<div class="post-metadata">

### Author: ![Ramdev\_Wudali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramdev_wudali/32/7894_2.png) [@Ramdev\_Wudali](https://discuss.elastic.co/u/Ramdev_Wudali)
#### Post date: [September 11, 2015, 6:32pm UTC](https://discuss.elastic.co/t/input-http-poller-https-on-the-api-untrusted-cert/25492/5 "2015-09-11T18:32:07Z")

</div>

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](https://discuss.elastic.co/t/http-poller-s-weird-behavior-with-polling-urls/28620) )

Thanks

Ramdev

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 5:29am UTC](https://discuss.elastic.co/t/input-http-poller-https-on-the-api-untrusted-cert/25492/6 "2017-07-06T05:29:20Z")

</div>


