mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Setup - Add peer config to the master config
This commit is contained in:
@@ -53,3 +53,7 @@ file_roots:
|
||||
pillar_roots:
|
||||
base:
|
||||
- /opt/so/saltstack/pillar
|
||||
|
||||
peer:
|
||||
.*:
|
||||
- x509.sign_remote_certificate
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
/usr/local/share/ca-certificates/intca.crt:
|
||||
x509.pem_managed:
|
||||
- text: {{ salt['mine.get']('ca', 'x509.get_pem_entries')['ca']['/etc/pki/ca.crt']|replace('\n', '') }}
|
||||
- text: {{ salt['mine.get']('master', 'x509.get_pem_entries')['ca']['/etc/pki/ca.crt']|replace('\n', '') }}
|
||||
|
||||
# Request a cert and drop it where it needs to go to be distributed
|
||||
/etc/pki/filebeat.crt:
|
||||
x509.certificate_managed:
|
||||
- ca_server: ca
|
||||
- ca_server: ca.example.com
|
||||
- signing_policy: filebeat
|
||||
- public_key: /etc/pki/filebeat.key
|
||||
- CN: security.onion
|
||||
|
||||
Reference in New Issue
Block a user