@@ -118,8 +118,9 @@ Installing TLS Certificates
118
118
119
119
|tls_setup |
120
120
121
- To configure TLS for the first time, we write a PEM file to the ``secrets.yml ``
122
- file as ``secrets_kolla_external_tls_cert ``. Use a command of this form:
121
+ To configure TLS for the first time, we write the contents of a PEM
122
+ file to the ``secrets.yml `` file as ``secrets_kolla_external_tls_cert ``.
123
+ Use a command of this form:
123
124
124
125
.. code-block :: console
125
126
:substitutions:
@@ -141,13 +142,26 @@ In ``${KAYOBE_CONFIG_PATH}/kolla.yml``, set the following:
141
142
kolla_enable_tls_external : True
142
143
kolla_external_tls_cert : " {{ secrets_kolla_external_tls_cert }}"
143
144
144
- To configure TLS, we need to reconfigure all services, as endpoint URLs need to
145
+ To apply TLS configuration , we need to reconfigure all services, as endpoint URLs need to
145
146
be updated in Keystone:
146
147
147
148
.. code-block :: console
148
149
149
150
kayobe# kayobe overcloud service reconfigure
150
151
152
+ Alternative Configuration
153
+ +++++++++++++++++++++++++
154
+
155
+ As an alternative to writing the certificates as a variable to
156
+ ``secrets.yml ``, it is also possible to write the same data to a file,
157
+ ``etc/kayobe/kolla/certificates/haproxy.pem ``. The file should be
158
+ vault-encrypted in the same manner as secrets.yml. In this instance,
159
+ variable ``kolla_enable_tls_cert `` does not need to be defined.
160
+
161
+ See `Kolla-Ansible TLS guide
162
+ <https://docs.openstack.org/kolla-ansible/latest/admin/tls.html> `__ for
163
+ further details.
164
+
151
165
Updating TLS Certificates
152
166
-------------------------
153
167
@@ -159,7 +173,7 @@ reach the |project_name| OpenStack APIs:
159
173
160
174
openstack# openssl s_client -connect |public_endpoint_fqdn|:443 2> /dev/null | openssl x509 -noout -dates
161
175
162
- *NOTE *: Blackbox monitoring can check certificates automatically
176
+ *NOTE *: Prometheus Blackbox monitoring can check certificates automatically
163
177
and alert when expiry is approaching.
164
178
165
179
To update an existing certificate, for example when it has reached expiration,
0 commit comments