mitch
Mar 06, 2020Nimbostratus
400 error message when loading certificate
I have successfully transferred certificates to the F5 BigIP via "https://%s/mgmt/shared/file-transfer/uploads/%s" with Python. But when I go to install with the following
url = "https://%s/mgmt/tm/sys/crypto/cert" % ip
payload = '{"command":"install", "name":"%s", \
"from-local-file":"/var/config/rest/downloads/%s"}' % \
(filename.replace(".crt", ""), filename)
I get a 400 error that I cannot copy the cert file into tmpfile, permission denied. I am using auth tokens as I am a remote TACACS user. This is running, BIG-IP 12.1.0 Build 1.0.1447 Hotfix HF1.
Thanks!