Grant_Joy_24163
Sep 29, 2016Altostratus
Solved
Cert Invalid Parameter
I am getting a
400
response from the /mgmt/tm/sys/crypto/cert
endpoint.
The body I am passing is:
{"command":"install","name":"testdomain","from-local-file":"/var/config/rest/downloads/testdomain.key"}
. The file exists and if I remove the file, I get an error that the file could not be copied, so I think this actually is copying this file.
The response body is:
Key management library returned bad status: -4, Invalid Parameter
.
Any help would be really appreciated. I am following the instruction here, but I am using token auth: https://devcentral.f5.com/questions/upload-ssl-keys-certs-via-icontrol-rest-api
This could be related to the issue I am having with uploading files, I opened a question here: https://devcentral.f5.com/questions/unable-to-upload-file-through-icontrol-rest-interface-49232
I believe this was a permission issue. I believe that the user I was trying failed. I ended up abandoning token auth and used a different user with basic auth and this started working.