From: sousaedu Date: Thu, 17 Jun 2021 11:43:59 +0000 (+0100) Subject: Fix bug 1571 - Keystone charm needs to pass CA SSL certificate X-Git-Tag: release-v11.0-start~47 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F22%2F11022%2F2;p=osm%2Fdevops.git Fix bug 1571 - Keystone charm needs to pass CA SSL certificate Change-Id: I7bce4fc0f4bc0d96b2bc7b84eff9eef655e8b098 Signed-off-by: sousaedu --- 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( {