request security pki node-local local-certificate export
Syntax
request security pki node-local local-certificate export certificate id certificate-id-name filename path/filename <type (der | pem)>
Description
Export a generated self-signed certificate from the default location (var/db/certs/common/local) to a specific location within the local device in a Multinode High Availability setup.
Options
certificate id certificate-id-name | Name of the local digital certificate. |
filename path/filename | Target directory location and filename of the CA digital certificate. |
type (der | pem) | Certificate format: DER (distinguished encoding rules) or PEM (privacy-enhanced mail). |
Required Privilege Level
maintenance
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
request security pki node-local local-certificate export
user@host> request security pki node-local local-certificate export filename /var/tmp/my-cert.pem certificate-id nss-cert type pem certificate exported successfully
Release Information
Command introduced in Junos OS Release 22.3R1