I generate the crt and key using openssl,
logstash configuration:
input {
beats {
host => "10.8.8.153"
port => "5044"
ssl => true
ssl_certificate => "/etc/pki/tls/certs/filebeat2logstash.crt"
ssl_key => "/etc/pki/tls/certs/filebeat2logstash.key"
}
}
filebeat.yml configuration:
output:
logstash:
hosts: ["10.8.8.153:5044"]
ssl.certificate_authorities: ["/etc/pki/tls/certs/filebeat2logstash.crt"]
The filebeat could not talk with logstash:
2017-02-03T13:53:49-05:00 CRIT Exiting: Could not start registrar: Error loading state: Error decoding states: EOF