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:

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
}