Skip to content

Add a playbook to regenerate standalone TLS certificates - #247

Open
dlaw4608 wants to merge 1 commit into
mainfrom
ca_regen_playbook
Open

dlaw4608 wants to merge 1 commit into
mainfrom
ca_regen_playbook

Conversation

@dlaw4608

Copy link
Copy Markdown

Add a localhost-only playbook that reuses the existing simpleca role
to generate a CA and standalone server certificate without running
the full OpenStack deployment.

The playbook loads deployment defaults, accepts cloud-specific
overrides, and prints the generated certificate and key paths.
Installation and service restarts remain separate manual steps.

Usage:

ansible-playbook playbooks/regen-standalone-certs.yaml \
  -e @local-overrides-mecha-central.yaml

Replace the overrides filename with your cloud’s configuration.
If local sudo requires a password, add --ask-become-pass.

The playbook prints the paths to the generated CA certificate/key
and server certificate/key in a temporary directory. Copy them to
a secure, persistent location before using them.

This command only generates files locally. Installing certificates,
updating client trust, and restarting services are separate steps.
Keep the CA private key on the management machine.

…L generation block in install_stack.yaml without needing to deploy TripleO or touch the remote host

Signed-off-by: Daniel Lawton <dlawton@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant