Clarify the difference between generating and regenerating certificates

Change-Id: Ia0e846fe7807334f436f71c8d7da06d2625872fd
This commit is contained in:
Jonathan Rosser 2022-01-27 22:19:37 +00:00
parent 8209706fcb
commit 87f28a1c2b

View File

@ -72,7 +72,7 @@ Generating and regenerating self-signed certificates
Self-signed certificates are generated for each service during the first Self-signed certificates are generated for each service during the first
run of the playbook. run of the playbook.
To generate a new self-signed certificate for a service, you must set To regenerate a new self-signed certificate for a service, you must set
the ``<servicename>_pki_regen_cert`` variable to true in one of the the ``<servicename>_pki_regen_cert`` variable to true in one of the
following ways: following ways:
@ -102,7 +102,7 @@ outside of Openstack ansible. These user certificates are signed by the same
self-signed certificate authority as is used by openstack services self-signed certificate authority as is used by openstack services
but are intended to be used by user applications. but are intended to be used by user applications.
To create user certificates, define a variable with the prefix To generate user certificates, define a variable with the prefix
``user_pki_certificates_`` in the ``/etc/openstack_deploy/user_variables.yml`` ``user_pki_certificates_`` in the ``/etc/openstack_deploy/user_variables.yml``
file. file.
@ -122,7 +122,13 @@ Example
extended_key_usage: extended_key_usage:
- serverAuth - serverAuth
To generate a new self-signed certificate for a service, you must set Generate the certificate with the following command:
.. code-block:: shell-session
# openstack-ansible certificate-generate.yml
To regenerate a new self-signed certificate for a service, you must set
the ``user_pki_regen_cert`` variable to true in one of the the ``user_pki_regen_cert`` variable to true in one of the
following ways: following ways: