We have to import and upgrade Certificate bundle with rest:
curl -sk -u “user:passss” -H “Content-Type: application/json” -X POST https://10.10.10.10/mgmt/tm/sys/crypto/cert -d ‘{“command”:“install”,“name”:“testbundle”,“from-local-file”:“bundlefile.crt”}’
But we get this error:
{“code”:400,“message”:“Unable to copy (/var/service/restjavad/bundlefile.crt) into tempfile (/var/system/tmp/tmsh/znUvEk/bundlefile.crt), No such file or directory”,“errorStack”:[],“apiError”:26214401}
How to resolve this error?