Demystifying iControl REST Part 5: Transferring Files
iControl REST. It’s iControl SOAP’s baby, brother, introduced back in TMOS version 11.4 as an early access feature but released fully in version 11.5.
Several articles on basic usage have been wri...
Updated Aug 04, 2023
Version 5.0JRahm
Admin
Joined January 20, 2005
Chris_Hiner_263
Jan 26, 2017Nimbostratus
This was very helpful. I ended up having my script build a pkcs12 file and import that, since otherwise I couldn't upload a new key/cert pair if the key changed without getting "profile X's key and certificate do not match".
After the file upload then POST to /mgmt/tm/sys/crypto/pkcs12 with a payload of:
command=install
name=name_to_show_in_ssllist
from-local-file=/var/config/rest/downloads/nameof.file.pkcs12
passphrase=password_for_pkcs12