Forum Discussion
MABreton
Dec 15, 2020Nimbostratus
Unfortunately I did not find a way with f5-sdk so I worked around the issue using "requests". In the example below, I excluded ca-bundle.crt.
if certificate.isBundle == 'true' and certificate.name != 'ca-bundle.crt':
r = session.get(certificate.bundleCertificatesReference['link'].replace('https://localhost', 'https://' + bigip_ip_address))
if r.status_code == 200:
for cert_bundle in r.json()['items']:
# Cert treatment here