Pki Delete-Certificate - HP 5920 Command Reference Manual

Table of Contents

Advertisement

pki delete-certificate

Use pki delete-certificate to remove the certificates in a PKI domain.
Syntax
pki delete-certificate domain domain-name { ca | local | peer [ serial serial-num ] }
Views
System view
Predefined user roles
network-admin
Parameters
domain domain-name: Specifies the name of a PKI domain, a case-insensitive string of 1 to 31
characters.
ca: Specifies the CA certificate.
local: Specifies the local certificates.
peer: Specifies the peer certificates.
serial serial-num: Specifies the serial number of a peer certificate. The serial-num argument is a
case-insensitive string of 1 to 127 characters and uniquely identifies a peer certificate among the
certificates issued by a CA. If you do not specify a peer certificate, this command removes all peer
certificates in the PKI domain.
Usage guidelines
When you remove the CA certificate in a PKI domain, the system also removes the local certificates, peer
certificates and CRLs in the same PKI domain.
If you want to remove a peer certificate, you must specify the serial number of the certificate by using the
display pki certificate command.
Examples
# Remove the CA certificate in the PKI domain aaa.
<Sysname> system-view
[Sysname] pki delete-certificate domain aaa ca
Local certificates, peer certificates and CRL will also be deleted while deleting the CA
certificate.
Confirm to delete the CA certificate? [Y/N]:y
[Sysname]
# Remove the local certificates in the PKI domain aaa.
<Sysname> system-view
[Sysname] pki delete-certificate domain aaa local
[Sysname]
# Remove all peer certificates in the PKI domain aaa.
<Sysname> system-view
198

Advertisement

Table of Contents
loading

This manual is also suitable for:

59005920 series5900 series

Table of Contents