Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


clear security pki key-pair (Local Certificate)



Clear public key infrastructure (PKI) key pair information for local digital certificates on the device.


  • all—Clear key pair information for all local certificates.

  • certificate-id certificate-id —Clear key pair information for the local certificate with this certificate ID.

Required Privilege Level

clear and security

Output Fields

This command produces no output.

Release Information

Command introduced in Junos OS Release 8.5.