Logstash - http-Poller plugin fails to disable SSL validation

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""
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.

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

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

1 Like

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