Skip to content

Commit 11a9680

Browse files
committed
Fix capitalisation and add instructions to encrypt pulp key
1 parent 0c7d52b commit 11a9680

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

doc/source/configuration/vault.rst

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -379,30 +379,42 @@ Pulp TLS with Vault
379379
===================
380380
.. warning::
381381

382-
These steps are intended for enabling tls for pulp on an existing deployment as on a new deployment the overcloud vaults may not be up at this point.
382+
These steps are intended for enabling TLS for pulp on an existing deployment as on a new deployment the overcloud vaults may not be up at this point.
383383

384-
To enable tls for pulp using vault generated certificates, we first need to generate the certificates using vault and then configure the seed + seed-hypervisor + overcloud nodes to add the root CA to their trust.
384+
To enable TLS for pulp using vault generated certificates, we first need to generate the certificates using vault and then configure the seed + seed-hypervisor + overcloud nodes to add the root CA to their trust.
385385

386386
1. Run the playbook which will generate the certificates and add the root CA to the seed + seed-hypervisor + overcloud nodes
387387

388388
.. code-block::
389389
390390
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/vault-generate-pulp-tls.yml
391391
392-
2. Next, enable tls for pulp in pulp.yml
392+
2. Encrypt the generated private key with ansible-vault (use the correct path to your vault password file).
393+
394+
.. code-block::
395+
396+
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/pulp/certificates/pulp.key
397+
398+
Or if environments are being used
399+
400+
.. code-block::
401+
402+
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/pulp/certificates/pulp.key
403+
404+
3. Next, enable TLS for pulp in pulp.yml
393405

394406
.. code-block::
395407
396408
# Whether to enable TLS for Pulp.
397409
pulp_enable_tls: true
398410
399-
3. Redeploy pulp
411+
4. Redeploy pulp
400412

401413
.. code-block::
402414
403415
kayobe seed service reconfigure -t seed-deploy-containers -kt none
404416
405-
You should now have pulp running with tls enabled using the certificates generated by vault.
417+
You should now have pulp running with TLS enabled using the certificates generated by vault.
406418

407419
Barbican integration
408420
====================

0 commit comments

Comments
 (0)