aboutsummaryrefslogtreecommitdiff
path: root/doc/source/admin
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2024-09-11 16:36:58 +0200
committerMichal Arbet <michal.arbet@ultimum.io>2024-11-25 20:07:01 +0100
commit3f55994bb7a7515628f81a47346aae230e88a513 (patch)
tree9c9b90028b035cb5439810c12bfe6990ed7fc8a9 /doc/source/admin
parent66534e9dc5b9248bea962a3e1e1ed20e5c2535b5 (diff)
downloadkolla-ansible-3f55994bb7a7515628f81a47346aae230e88a513.tar.gz
kolla-ansible-3f55994bb7a7515628f81a47346aae230e88a513.zip
Fix TLS settings when letsencrypt turned on
- Introduced `letsencrypt_managed_certs` variable to handle whether letsencrypt will generate internal, external or both certificates. - Updated certificate generation logic to use `letsencrypt_managed_certs` conditionally, replacing the previous `enable_letsencrypt` boolean. - Adjusted tasks and templates to support internal/external certificate management based on the new variable. - Enhanced Let's Encrypt script (`letsencrypt-lego-run.sh.j2`) to handle both internal and external certificates depending on VIP configurations. - Refined HAProxy configuration templates to correctly map certificates based on TLS settings and new management logic. Closes-bug: #2076331 Change-Id: Id80c7823fcc5d934b7369c7c0722cd78188e2ccf Co-Authored-By: Michal Arbet <michal.arbet@ultimum.io>
Diffstat (limited to 'doc/source/admin')
-rw-r--r--doc/source/admin/tls.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/source/admin/tls.rst b/doc/source/admin/tls.rst
index d662d6c2e..5a42d0048 100644
--- a/doc/source/admin/tls.rst
+++ b/doc/source/admin/tls.rst
@@ -317,6 +317,21 @@ to the HAProxy containers using SSH.
admin access level. This is needed so Let's Encrypt can interact
with HAProxy.
+You can configure separate ACME servers for internal and external
+certificate requests.
+
+.. code-block:: yaml
+
+ letsencrypt_external_cert_server: "<ACME server URL for external cert>"
+ letsencrypt_internal_cert_server: "<ACME server URL for internal cert>"
+
+.. note::
+
+ The ``letsencrypt_external_cert_server`` has a default value of
+ ``https://acme-v02.api.letsencrypt.org/directory``. Ensure that
+ ``letsencrypt_internal_cert_server`` is reachable from the controller
+ if you configure it for internal certificate requests.
+
Generating a Private Certificate Authority
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~