I enabled the elasticsearch 5.0.1 SSL with following this doc:
xpack.ssl.key: /home/es/config/x-pack/node01.key
xpack.ssl.certificate: /home/es/config/x-pack/node01.crt
xpack.ssl.certificate_authorities: [ "/home/es/config/x-pack/ca.crt" ]
https://www.elastic.co/guide/en/x-pack/current/ssl-tls.html
but to enable logstash ssl ( https://www.elastic.co/guide/en/x-pack/current/logstash.html) , I do not know where is the cert.pem? The above doc only has ca.crt and ca.key. This doc is very bad right now, not clear. Please help ?
output {
elasticsearch {
...
ssl => true
cacert => '/path/to/cert.pem'
}
}