Can't connect to elasticsearch from logstash

I installed the searchguard and can not connect the logstash. In the logs I see that:

[Manticore::ClientProtocolException] PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"}

In elasticsearch-output.conf i write:

elasticsearch {
user => logstash
password => logstash
ssl => true
ssl_certificate_verification => false
cacert => "/usr/share/logstash/config/conf.d/root-ca.key"
cacert_password => Pass
hosts => ["https://logstash.taxnet.ru:9200"]
index => "logstash-%{[fields][es_index_name]}-%{+YYYY.MM.dd}"
template_overwrite => true

Where is my mistake?

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