Filebeat Module - The Fix is in

This commit is contained in:
Mike Reeves
2018-10-09 14:01:44 -04:00
parent 1996787b6e
commit 4a1e2a6d29
2 changed files with 3 additions and 1 deletions

View File

@@ -131,5 +131,5 @@ so-logstash:
- /opt/so/log/logstash:/var/log/logstash:rw
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/pki/filebeat.crt:/usr/share/logstash/filebeat.crt:ro
- /etc/pki/filebeat.key:/usr/share/logstash/filebeat.key:ro
- /etc/pki/filebeat.p8:/usr/share/logstash/filebeat.key:ro
- /etc/pki/ca.crt:/usr/share/filebeat/ca.crt:ro

View File

@@ -30,6 +30,8 @@ m2cryptopkgs:
name: /etc/pki/filebeat.key
bits: 4096
backup: True
cmd.run:
- name: "/usr/bin/openssl pkcs8 -in /etc/pki/filebeat.key -topk8 -out /etc/pki/filebeat.p8 -nocrypt"
# Create Symlinks to the keys so I can distribute it to all the things
filebeatdir: