Usage Scenario
Before applying for a certificate, run the rsa pki local-key-pair create command to create a public and private key pair. The private key is kept by users; the public key and other information are sent to a CA for signature, and then a certificate is obtained.
If the key of a user is disclosed, the rsa pki local-key-pair destroy command can be used to delete the original key pair. If a local certificate exists, delete the local certificate to generate a new key pair. This ensures that the key pair matches the local certificate. If a key pair exists, the newly created key pair will overwrite the original one. Updating the key every 90 days is recommended.