request security pki local-certificate export
Syntax
request security pki local-certificate export
Description
Export a generated self-signed certificate from the default location (var/db/certs/common/local) to a specific location within the device.
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 local-certificate export
user@host> request security pki 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 12.1.