Fix mistraldashboard not pass ca_cert when enable CA cert in horizon
This patch is aim to fix mistral dashboard not pass ca_cert when user enable ca_cert in openstack and login horizon to call mistral API. * Add ca_cert parameter in api.py Closes-Bug: #1808346 Change-Id: I692d4aad3453c2606b1e42ba43561ce4ef929819 Signed-off-by: shuwcai <shuwcai@cisco.com>
This commit is contained in:
@@ -45,7 +45,8 @@ def mistralclient(request):
|
||||
service_type=SERVICE_TYPE,
|
||||
# We should not treat definition as file path or uri otherwise
|
||||
# we allow access to contents in internal servers
|
||||
enforce_raw_definition=False
|
||||
enforce_raw_definition=False,
|
||||
cacert=getattr(settings, 'OPENSTACK_SSL_CACERT')
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user