Forum Discussion
Uploading certificates : no exception but do not work (Python / SOAP API)
- Nov 10, 2017
Recently had some time to investigate again the problem and... Don't know if someone is actualy having the same but in case here is the answer :
v.certificate_import_from_pem(mode=mode.MANAGEMENT_MODE_DEFAULT, cert_ids=[name], pem_data=[pem_cert], overwrite=False)
No need for the time.sleep(3) by the way. So yeah, there was no errors, but the API was waiting for a list, dummy me that didn't look enough at the doc...
Recently had some time to investigate again the problem and... Don't know if someone is actualy having the same but in case here is the answer :
v.certificate_import_from_pem(mode=mode.MANAGEMENT_MODE_DEFAULT, cert_ids=[name], pem_data=[pem_cert], overwrite=False)
No need for the time.sleep(3) by the way. So yeah, there was no errors, but the API was waiting for a list, dummy me that didn't look enough at the doc...
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com