Forum Discussion
Deleting PKCS12 Cert from an LTM via REST
Hi,
I am successfully using this REST API to create or update a PKCS12 cert on our LTMs.
curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{ "command": "install", "name":"test_cert.net", "fromLocalFile": "/var/tmp/test_cert.pfx", "passphrase": "MyTestCert1234" } ' ";
Can you tell me what the REST call would be to DELETE that cert?
Thanks.
The answer is: Use the /sys/crypto/cert and /sys/crypto/key REST calls to delete the cert.
The back story is: Once a cert bundle (PKCS12 file) is uploaded to the LTM, it is unbundled into its cert and key pair and going forward from that they are then managed as if they had been uploaded as cert and key files.
- EricD_186141Altocumulus
The answer is: Use the /sys/crypto/cert and /sys/crypto/key REST calls to delete the cert.
The back story is: Once a cert bundle (PKCS12 file) is uploaded to the LTM, it is unbundled into its cert and key pair and going forward from that they are then managed as if they had been uploaded as cert and key files.
Recent Discussions
Related Content
* 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