# Logstash - http-Poller plugin fails to disable SSL validation

**URL:** <https://discuss.elastic.co/t/logstash-http-poller-plugin-fails-to-disable-ssl-validation/219785>\
**Category:** Logstash\
**Created:** [February 18, 2020, 12:49pm UTC](https://discuss.elastic.co/t/logstash-http-poller-plugin-fails-to-disable-ssl-validation/219785 "2020-02-18T12:49:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasanna2104](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@prasanna2104](https://discuss.elastic.co/u/prasanna2104)\
**Post date:** [February 18, 2020, 12:49pm UTC](https://discuss.elastic.co/t/logstash-http-poller-plugin-fails-to-disable-ssl-validation/219785/1 "2020-02-18T12:49:32Z")

</div>

Hi Team,

I have installed logstash7.3.0 in the Linux server. I have created a configuration which will connect to the JIRA rest API using http\_poller plugin. Since our JIRA is self signed, and for testing purpose we are trying to fetch the data from JIRA using logstash. But it throws below error

> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

The Logstash-jira.conf file contains

> input {  
> http\_poller {  
> urls =\> {  
> test2 =\> {  
> method =\> get  
> url =\> "[https://xx.xx.xx.xx:8443/rest/api/2/search?jql=project="Test"](https://xx.xx.xx.xx:8443/rest/api/2/search?jql=project=%22Test%22)"  
> headers =\> {  
> Accept =\> "application/json"  
> }  
> ssl\_certificate\_validation =\> false  
> ssl\_verify =\> false  
> }  
> }  
> request\_timeout =\> 20  
> schedule =\> { every =\>"20s"}  
> codec =\> "json"  
> #proxy =\> {host=\> "xx.xx.xx.xx" port=\>"8080"}

Is there any way to ignore the SSL verification in http\_poller plugin.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 18, 2020, 1:59pm UTC](https://discuss.elastic.co/t/logstash-http-poller-plugin-fails-to-disable-ssl-validation/219785/2 "2020-02-18T13:59:55Z")

</div>

> [@prasanna2104](#):
>
> Is there any way to ignore the SSL verification in http\_poller plugin.

No, there is no way to encourage man-in-the-middle attacks for this input.

---

<div class="post-metadata">

**Author:** ![prasanna2104](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@prasanna2104](https://discuss.elastic.co/u/prasanna2104)\
**Post date:** [February 18, 2020, 2:48pm UTC](https://discuss.elastic.co/t/logstash-http-poller-plugin-fails-to-disable-ssl-validation/219785/4 "2020-02-18T14:48:17Z")

</div>

Hi Team,  
How to handle this error message in logstash. Is there any other plugin in logstash which will skip the SSL verification

---

<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:** [March 17, 2020, 2:48pm UTC](https://discuss.elastic.co/t/logstash-http-poller-plugin-fails-to-disable-ssl-validation/219785/5 "2020-03-17T14:48:18Z")

</div>

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