Convert certs from peer app data to dict

Peer app data for ca certs are stored as string.
Convert them to dict before using in any operation.

Change-Id: I00974342e10ae1a939db268555903b14f2c33311
This commit is contained in:
Hemanth Nakkina 2024-02-20 13:26:09 +05:30
parent f8d14186d6
commit cc901f1b70
No known key found for this signature in database
GPG Key ID: 2E4970F7B143168E

View File

@ -1717,6 +1717,7 @@ export OS_AUTH_VERSION=3
ca_list = []
chain_list = []
certificates = json.loads(certificates)
for name, bundle in certificates.items():
_ca = bundle.get("ca")
_chain = bundle.get("chain")