mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 03:02:58 +01:00
SSL Module - generate ssl key for registry
This commit is contained in:
@@ -22,3 +22,17 @@
|
|||||||
backup: True
|
backup: True
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
# Create a cert for the docker registry
|
||||||
|
/etc/pki/registry.crt:
|
||||||
|
x509.certificate_managed:
|
||||||
|
- ca_server: {{ master }}
|
||||||
|
- signing_policy: filebeat
|
||||||
|
- public_key: /etc/pki/registry.key
|
||||||
|
- CN: ca.example.com
|
||||||
|
- days_remaining: 3000
|
||||||
|
- backup: True
|
||||||
|
- managed_private_key:
|
||||||
|
name: /etc/pki/registry.key
|
||||||
|
bits: 4096
|
||||||
|
backup: True
|
||||||
Reference in New Issue
Block a user