@@ -113,8 +113,8 @@ On each controller:
113
113
Some services may store data in a dedicated Docker volume, which can be removed
114
114
with ``docker volume rm ``.
115
115
116
- Installing and Updating TLS Certificates
117
- ----------------------------------------
116
+ Installing TLS Certificates
117
+ ---------------------------
118
118
119
119
|tls_setup |
120
120
@@ -127,7 +127,12 @@ file as ``secrets_kolla_external_tls_cert``. Use a command of this form:
127
127
kayobe# ansible-vault edit ${KAYOBE_CONFIG_PATH}/secrets.yml --vault-password-file=|vault_password_file_path|
128
128
129
129
Concatenate the contents of the certificate and key files to create
130
- ``secrets_kolla_external_tls_cert ``.
130
+ ``secrets_kolla_external_tls_cert ``. The certificates should be installed in
131
+ this order:
132
+
133
+ * TLS certificate for the |project_name | OpenStack endpoint |public_endpoint_fqdn |
134
+ * Any intermediate certificates
135
+ * The TLS certificate private key
131
136
132
137
In ``${KAYOBE_CONFIG_PATH}/kolla.yml ``, set the following:
133
138
@@ -143,9 +148,23 @@ be updated in Keystone:
143
148
144
149
kayobe# kayobe overcloud service reconfigure
145
150
151
+ Updating TLS Certificates
152
+ -------------------------
153
+
154
+ Check the expiry date on an installed TLS certificate from a host that can
155
+ reach the |project_name | OpenStack APIs:
156
+
157
+ .. code-block :: console
158
+ :substitutions:
159
+
160
+ openstack# openssl s_client -connect |public_endpoint_fqdn|:443 2> /dev/null | openssl x509 -noout -dates
161
+
162
+ *NOTE *: Blackbox monitoring can check certificates automatically
163
+ and alert when expiry is approaching.
164
+
146
165
To update an existing certificate, for example when it has reached expiration,
147
- change the value of ``secrets_kolla_external_tls_cert `` and run the following
148
- command:
166
+ change the value of ``secrets_kolla_external_tls_cert ``, in the same order as
167
+ above. Run the following command:
149
168
150
169
.. code-block :: console
151
170
0 commit comments