dylang_327779
Oct 03, 2017Nimbostratus
Solved
Uploading certificates : no exception but do not work (Python / SOAP API)
Hello all,
I am trying to upload some certs with the SOAP API and some python code and I don't quite understand the result.
My code seems good (to me at least 😉 ), there's no exception rai...
- 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...