Demystifying iControl REST Part 5: Transferring Files
Updated Aug 04, 2023
Version 5.0Was this article helpful?
Has someone tested this with token-based authentication? (User is mapped to Administrator)
Line 20 in create_cert_obj throwing:
{"code":400,"message":"Unable to copy (/var/config/rest/downloads/test-vip.crt) into tempfile (/var/system/tmp/tmsh/yrfD5H/test-vip.crt), Permission denied","errorStack":[],"apiError":26214401}
test-vip.crt has root:root 600 permission after upload. Changing file-mode is no option, cause it throws:
{"code":400,"message":"Key management library returned bad status: -4, Invalid Parameter","errorStack":[],"apiError":26214401}
Using local auth with root works.