Hi,
Currently I am planning to use TLS certificate for sending logs using filebeat to Graylog.
I am using below command to generate server certificate and private key,
openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout logstash.key -out logstash.crt
Filebeat Configuration is as below,
output.logstash:
hosts: ["graylog-host:5046"]
compression_level: 9
tls:
certificate_authorities: ["/tmp/tls-keys/graylog-server-tls.crt"]
Filebeat error is as below,
2018-02-07T14:41:37Z ERR Failed to publish events caused by: EOF
2018-02-07T14:41:37Z INFO Error publishing events (retrying): EOF
Please help with how we can create self signed TLS certificate that will work for Graylog input.
Thanks in Advance