Forum Discussion
Maverick_80689
Nimbostratus
Mar 14, 2016"code":404,"message":"Failed to open REST when trying to install certificate
I am trying to install SSL certificate and key using a rest call:
https://devcentral.f5.com/questions/upload-ssl-keys-certs-via-icontrol-rest-api
but i keep getting this error:
{"code"...
Maverick_80689
Nimbostratus
Mar 15, 2016yes certs were copied before we tried this. I can use the same tmsh command to install it but it doest work with these commands:
curl -sk -u admin:admin -H "Content-Type: application/json" -X POST https://x.x.x.x/mgmt/tm/sys/crypto/cert -d '{"command":"install","name":"test","from-local-file":"/var/tmp/test.crt"}'
curl -sk -u admin:admin -H "Content-Type: application/json" -X POST https://x.x.x.x/mgmt/tm/sys/crypto/key -d '{"command":"install","name":"test","from-local-file":"/var/tmp/test.key"}'
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects