Destroying a local RSA key pair

A certificate has a lifetime, which is determined by the CA. When the private key leaks or the certificate is about to expire, you can destroy the old RSA key pair and then create a pair to request a new certificate.

To destroy a local RSA key pair:

Step

Command

1. Enter system view.

system-view

2. Destroy a local RSA key pair.

public-key local destroy rsa

For more information about the public-key local destroy command, see Security Command Reference.