mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-30 21:03:10 +01:00
Master Module - Add certs for Docker Registry
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
x509.pem_managed:
|
||||
- text: {{ salt['mine.get'](master, 'x509.get_pem_entries')[master]['/etc/pki/ca.crt']|replace('\n', '') }}
|
||||
|
||||
{% if grains['role'] == 'so-master' %}
|
||||
# Request a cert and drop it where it needs to go to be distributed
|
||||
/etc/pki/filebeat.crt:
|
||||
x509.certificate_managed:
|
||||
@@ -35,4 +36,6 @@
|
||||
- managed_private_key:
|
||||
name: /etc/pki/registry.key
|
||||
bits: 4096
|
||||
backup: True
|
||||
backup: True
|
||||
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user