Skip to content

ssl_certificate_validation set to false getting unable to find valid certification path to requested target #46

@amulyas

Description

@amulyas

I am using this plugin to send data to Splunk HTTP Event Collector

http {
url => "https://input-prd-p-wqweqwed2bssk.cloud.splunk.com:8088/services/collector/event"
http_method => "post"
format => "message"
ssl_certificate_validation => false
message => '{ "event", "%{message}" }'
headers => [ "Authorization", "Splunk 878IUY-3715-42ED-8F41-4399FC4CC2B6" ]
}

but Its giving me error

{:timestamp=>"2016-10-12T15:10:42.739000-0700", :message=>"PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target", :url=>"https://input-prd-p-273zfxd2bssk.cloud.splunk.com:8088/services/collector/event", :method=>:post, :body=>"{ "event", "tasdaskdj" }", :headers=>{"Authorization"=>"Splunk 6876YUYA31-3715-42ED-8F41-4399FC4CC2B6", "Content-Type"=>"text/plain"}, :class=>"Man

Is ssl_certificate_validation => false not getting set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions