HP MSR2000/3000/4000 Router Series Security Command Reference
170
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
[Sysname] pki delete-certificate domain aaa peer
[Sysname]
# Display information about peer certificates in the PKI domain aaa, and remove a peer certificate with
the specified serial number.
<Sysname> system-view
[Sysname] display pki certificate domain aaa peer
Total peer certificates: 1
Serial Number: 9a0337eb2156ba1f5476e4d754a5a9f7
Subject Name: CN=abc
[Sysname] pki delete-certificate domain aaa peer serial 9a0337eb2156ba1f5476e4d754a5a9f7
Related commands
display pki certificate
pki domain
Use pki domain to create a PKI domain and enter its view.
Use undo pki domain to remove a PKI domain.
Syntax
pki domain domain-name










