| Parameter | Description | Value |
|---|---|---|
ca |
Deletes a CA certificate. |
- |
local |
Deletes a local certificate. |
- |
ocsp |
Deletes an Online Certificate Status Protocol (OCSP) server's certificate. |
- |
realm realm-name |
Specifies the name of the PKI realm to which a certificate belongs. |
The value must be an existing PKI realm name. |
filename file-name |
Specifies the name of a certificate file. |
The value must be an existing certificate file name. |
Usage Scenario
When the certificate expires or you want to apply for a new certificate, run this command to delete the CA, local, or OCSP server certificate from the memory.
Prerequisites
A PKI realm has been created using the pki realm (system view) command or a certificate has been imported to the memory using the pki import-certificate command.
Precautions
In dual-node hot standby scenarios, the backup node does not support the function of deleting a certificate from the memory.