Browse Source

Support upload of self signed certificates

Uploading of self signed certificates while creating TLS listener fails.

Change-Id: I21ac14407c61906f01563e6b06f819ef250233a8
changes/33/817533/1
Kobi Samoray 7 months ago
parent
commit
28c2078e4d
  1. 3
      vmware_nsx/services/lbaas/nsx_v/implementation/listener_mgr.py

3
vmware_nsx/services/lbaas/nsx_v/implementation/listener_mgr.py

@ -151,7 +151,8 @@ class EdgeListenerManagerFromDict(base_mgr.EdgeLoadbalancerBaseManager):
'Using first signed certificate of the bundle')
edge_cert_id = None
for cert in cert_list:
if cert['certificateType'] == 'certificate_signed':
if cert['certificateType'] in ['certificate_signed',
'certificate_self_signed']:
edge_cert_id = cert['objectId']
break
if not edge_cert_id:

Loading…
Cancel
Save