geerlingguy/ansible-role-filebeat

Copy CA file during SSL configuration as well

pfoof opened this issue · 3 comments

pfoof commented

Shouldn't the CA file be copied as well?

https://github.com/geerlingguy/ansible-role-filebeat/blob/master/tasks/config.yml#L21

I specified the following:

filebeat_ssl_certs_dir: /etc/filebeat
filebeat_ssl_private_dir: /etc/filebeat
filebeat_ssl_ca_cert_file: ca-cert.pem
filebeat_ssl_certificate_file: mycert.pem
filebeat_ssl_key_file: mykey.pem
filebeat_ssl_copy_file: true

And the resulting config part is:

ssl:
  certificate_authorities: ["/etc/filebeat/ca-cert.pem"]
  certificate: "/etc/filebeat/mycert.pem"
  key: "/etc/filebeat/mykey.pem"

But ca-cert.pem does not exist in /etc/filebeat

stale commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale commented

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

Can this one be reopened? I would like to see it fixed