[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

clear security pki local-certificate

Syntax

clear security pki local-certificate (all | certificate-id certificate-id | system-generated)

Release Information

Command modified in Release 9.1 of JUNOS software.

Description

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

This statement is supported on J-series and SRX-series devices.

Options

all—Clear information for all the local digital certificates on the device.

Note: You cannot clear the automatically generated self-signed certificate using clear security pki local-certificate all command. To clear the self-signed certificate you need to use system-generated as an option.

certificate-id certificate-id —Clear the specified local digital certificate with this certificate ID.

system-generated—Clear the existing automatically generated self-signed certificate and generate a new self-signed certificate.

Required Privilege Level

clear and security

Related Topics

show security pki local-certificate

request security pki local-certificate generate-self-signed

List of Sample Output

clear security pki local-certificate all
clear security pki local-certificate system-generated

Output Fields

When you enter this command, you are provided feedback on the status of your request.

clear security pki local-certificate all

user@host> clear security pki local-certificate all

clear security pki local-certificate system-generated

user@host> clear security pki local-certificate system-generated

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]