From 8f0f66f4bcf6340f706f0ca019d00ac16c21c32b Mon Sep 17 00:00:00 2001 From: sousaedu Date: Thu, 17 Jun 2021 12:43:59 +0100 Subject: [PATCH] Fix bug 1571 - Keystone charm needs to pass CA SSL certificate Change-Id: I7bce4fc0f4bc0d96b2bc7b84eff9eef655e8b098 Signed-off-by: sousaedu --- installers/charm/keystone/src/charm.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installers/charm/keystone/src/charm.py b/installers/charm/keystone/src/charm.py index 66930803..8300b88d 100755 --- a/installers/charm/keystone/src/charm.py +++ b/installers/charm/keystone/src/charm.py @@ -343,6 +343,11 @@ class KeystoneCharm(CharmedOsmBase): {"LDAP_GROUP_TREE_DN": config_ldap.ldap_group_tree_dn} ) + if config_ldap.ldap_tls_cacert_base64: + container_builder.add_envs( + {"LDAP_TLS_CACERT_BASE64": config_ldap.ldap_tls_cacert_base64} + ) + if config_ldap.ldap_use_starttls: container_builder.add_envs( { -- 2.25.1