Demystifying iControl REST Part 5: Transferring Files
Updated Aug 04, 2023
Version 5.0Was this article helpful?
You need to use these methods:
key = b.tm.sys.file.ssl_keys.ssl_key.create(name=name, sourcePath=sourcepath)
cert = b.tm.sys.file.ssl_certs.ssl_cert.create(name=name, sourcePath=sourcepath)
Where sourcepath is (after you have uploaded the files via iControl REST) file:/var/config/rest/downloads/name.[key|crt]