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?