Logstash HTTP(s) output not working

Hi,

I downloaded latest logstash 2.3.4 and deployed on Windows machine with the following output configuration

http {
url => "https://127.0.0.1:443/collectionstats"
http_method => "post"
headers => [ 'Authorization', 'test']
}

Following is the error observed

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

:url=>"https://127.0.0.1:443/collectionstats",
:headers=>{"Authorization"=>"test", "Content-Type"=>"application/json"}, :class=>"Manticore::ClientProtocolException", :backtrace=>nil, :level=>:error}

Please let me know the issue the above configuration.

Anyone with the idea please?

Thanks!

I tried this google search:
java windows localhost sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested
I found these:
https://blogs.oracle.com/gc/entry/unable_to_find_valid_certification

Working fine with the following snippet

http {
url => "https://127.0.0.1:443/collectionstats"
http_method => "post"
headers => [ 'Authorization', 'test']
ssl_certificate_validation => false
verify_ssl => false
}