Filebeat Module - Change key to normal key

This commit is contained in:
Mike Reeves
2018-10-09 12:15:06 -04:00
parent f1593d5127
commit 1dc194115e
2 changed files with 1 additions and 6 deletions

View File

@@ -60,5 +60,5 @@ so-filebeat:
- /nsm/bro/spool/manager:/nsm/bro/spool:ro - /nsm/bro/spool/manager:/nsm/bro/spool:ro
- /opt/so/log/suricata:/suricata:ro - /opt/so/log/suricata:/suricata:ro
- /opt/so/conf/filebeat/etc/pki/filebeat.crt:/usr/share/filebeat/filebeat.crt:ro - /opt/so/conf/filebeat/etc/pki/filebeat.crt:/usr/share/filebeat/filebeat.crt:ro
- /opt/so/conf/filebeat/etc/pki/filebeat.p8:/usr/share/filebeat/filebeat.p8:ro - /opt/so/conf/filebeat/etc/pki/filebeat.key:/usr/share/filebeat/filebeat.key:ro
- /etc/ssl/certs/intca.crt:/usr/share/filebeat/intraca.crt:ro - /etc/ssl/certs/intca.crt:/usr/share/filebeat/intraca.crt:ro

View File

@@ -31,11 +31,6 @@ m2cryptopkgs:
bits: 4096 bits: 4096
backup: True backup: True
# Convert the key to pkcs#8 so logstash will work correctly.
filebeatpkcs:
cmd.run:
- name: "/usr/bin/openssl pkcs8 -in /etc/pki/filebeat.key -topk8 -out /etc/pki/filebeat.p8 -passout pass:"
# Create Symlinks to the keys so I can distribute it to all the things # Create Symlinks to the keys so I can distribute it to all the things
filebeatdir: filebeatdir:
file.directory: file.directory: