Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Import ssl certicate bundle through iControl as user with Certificate Manager role

romio28
Altostratus
Altostratus

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?

1 ACCEPTED SOLUTION

Hi @Leslie_Hubertus , yes it solve the issue,  I think it's the best practice to automate bundle update, the only negative point is the update interval but we can force it with Icontrol:

curl -i -sk -u "user:pass" -H "Content-Type: application/json" -X PATCH https://10.10.10.10/mgmt/tm/sys/crypto/ca-bundle-manager/~Common~BM_url -d '{ "updateNow": "yes" }'

Thanks,

View solution in original post

3 REPLIES 3

Leslie_Hubertus
Community Manager
Community Manager

Leslie_Hubertus
Community Manager
Community Manager

Hi @romio28  - did the techdoc I linked above help you with your issue?

Hi @Leslie_Hubertus , yes it solve the issue,  I think it's the best practice to automate bundle update, the only negative point is the update interval but we can force it with Icontrol:

curl -i -sk -u "user:pass" -H "Content-Type: application/json" -X PATCH https://10.10.10.10/mgmt/tm/sys/crypto/ca-bundle-manager/~Common~BM_url -d '{ "updateNow": "yes" }'

Thanks,