# Overriding HTTP\_Poller SSL Input

**URL:** https://discuss.elastic.co/t/overriding-http-poller-ssl-input/211384
**Category:** Logstash
**Created:** [December 10, 2019, 10:07pm UTC](https://discuss.elastic.co/t/overriding-http-poller-ssl-input/211384 "2019-12-10T22:07:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![RunningSmurf](https://avatars.discourse-cdn.com/v4/letter/r/0ea827/32.png) [@RunningSmurf](https://discuss.elastic.co/u/RunningSmurf)
#### Post date: [December 10, 2019, 10:07pm UTC](https://discuss.elastic.co/t/overriding-http-poller-ssl-input/211384/1 "2019-12-10T22:07:38Z")

</div>

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

---

<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: [January 7, 2020, 10:07pm UTC](https://discuss.elastic.co/t/overriding-http-poller-ssl-input/211384/2 "2020-01-07T22:07:41Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
