Demystifying iControl REST Part 5: Transferring Files
Updated Aug 04, 2023
Version 5.0Was this article helpful?
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