pki delete-certificate { ca | local | ocsp } realm realm-name
Only devices in NETCONF mode support the ocsp parameter.
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. |
Usage Scenario
When the certificate expires or you want to apply for a new certificate, run this command to delete the CA certificate, OCSP server certificate, or local certificate from the memory.
Prerequisites
A PKI realm has been created using the pki realm (system view) command.
Precautions
Deleting a certificate may interrupt certificate-related services.