Dor_206641
Jul 17, 2016Nimbostratus
import pfx certificate using rest api
I'm trying to import pfx certificate file using the f5 ltm rest api I have tried the command:
curl -sk -u admin: -H "Content-Type: application/json" -X POST https:///mgmt/tm/sys/crypto/pkcs12 -d '{"command":"install","name":"test","from-local-file":"/tmp/file.pfx","passphrase":""}'
I get error : "code":400,"message":"Failed to open /tmp/file.pfx "errorStack":[]
any idea how to import fx certificate using rest api?
Thanks!