SSL Module - generate ssl key for registry

This commit is contained in:
Mike Reeves
2018-06-01 13:31:43 -04:00
parent 279cdd2dd9
commit 13e5856553

View File

@@ -21,4 +21,18 @@
bits: 4096
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