Merge "undercloud: Disable CA path if user-provided cert is used"

This commit is contained in:
Zuul 2018-08-09 01:08:48 +00:00 committed by Gerrit Code Review
commit 0e523fd3d3
1 changed files with 2 additions and 0 deletions

View File

@ -427,6 +427,8 @@ def prepare_undercloud_deploy(upgrade=False, no_validations=False,
env_data['SwiftEncryptionEnabled'] = True
if CONF.get('undercloud_service_certificate'):
# We assume that the certificate is trusted
env_data['InternalTLSCAFile'] = ''
env_data.update(
_get_public_tls_parameters(
CONF.get('undercloud_service_certificate')))