clear security pki node-local local-certificate
Syntax
clear security pki node-local local-certificate (all | certificate-id certificate-id | system-generated)
Description
Clear public key infrastructure (PKI) information for local digital certificates on the local device in a Multinode High Availability system.
Options
all
—Clear information for all the local digital certificates on the device.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 usesystem-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
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
This command produces no output.
Release Information
Command modified in Junos OS Release 22.3R1