Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


request security pki local-certificate export



Export a generated self-signed certificate from the default location (var/db/certs/common/local) to a specific location within the device.


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


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

Release Information

Command introduced in Junos OS Release 12.1.