request security pki node-local key-pair export
Syntax
request security pki node-local key-pair export certificate-id certificate-id filename filename
<passphrase string>
< type (der | pem)>
Description
Export the keypair for an end-entity (EE) certificate. Junos OS encrypts the exported keypair.
You can export the PKI key-pairs file as a backup or to check the file for troubleshooting purposes.
We recommend providing permission to the request security pki node-local
key-pair export
command only to the privileged users.
Options
certificate-id certificate-id | Name of the local digital certificate. |
filename filename | Target directory location and filename of the CA digital certificate. |
passphrase passphrase | (Optional) Passphrase to protect the keypair data for PEM format. The passphrase can be up to 64 characters. If specified, the passphrase must be used when importing the keypair. |
type (der | pem) | (Optional) Type of format, either DER or PEM. PEM is the default. |
Required Privilege Level
maintenance
Output Fields
This command produces no output.
Release Information
Command introduced in Junos OS Release 22.3R1