Filebeat 5.1 to logstash 5.1 SSL setup, filebeat CRIT exiting

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

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