freedomofpress / ansible-role-elk

Installs a turnkey ELK stack for log aggregation and analysis, with optional Riemann support for alerting
18 stars 13 forks source link

Adds custom filepath for OpenSSL certificate and key #40

Closed conorsch closed 8 years ago

conorsch commented 8 years ago

The upstream freedomofpress.generate-ssl-cert role now supports fine-grained permissions management. Rather than place the certificate and keyfile for the Logstash service in the system-wide CA directory, place them in the Logstash config directory with permissions on the key so that it is readable by the "logstash" user.

Requires a hard-coded change to the Logstash input config, since the config files are not yet templatized, meaning no vars can be interpolated.

conorsch commented 8 years ago

Related: https://github.com/freedomofpress/ansible-role-generate-ssl-cert/pull/4