Logstash output to elasticsearch - SSL


I am trying to get a Logstash output to Elasticsearch going. My output conf looks like this:

output {
elasticsearch {
hosts => "https://mdbxd1veel1pr..net:9200"
ssl => true
ssl_certificate_verification => false
user => "elastic"
password => "
cacert => "/home/mddadmin/mdbxd1vels1pr/ca.crt"
index => "Logstash"

The ca.crt I am using was created using the elastic certutil on one of my elasticsearch servers.

When I start Logstash I get "Path does not chain with any of the trust anchors" but when I open up the CA crt it doesn't show me any paths below current one.

I am happy to leave certificate verification off if necessary.

Any ideas?

Sorted - went back to basics and reconfigured SSL in my Elasticsearch cluster step by step using this reference - https://www.elastic.co/blog/configuring-ssl-tls-and-https-to-secure-elasticsearch-kibana-beats-and-logstash

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