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 => ""
port => "5044"
ssl => true
ssl_certificate => "/etc/pki/tls/certs/filebeat2logstash.crt"
ssl_key => "/etc/pki/tls/certs/filebeat2logstash.key"


filebeat.yml configuration:
hosts: [""]
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.