Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

request security pki local-certificate generate-self-signed

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
request security pki local-certificate  generate-self-signed certificate-id certificate-id-name domain-name domain-name ip-address ip-address email email-address subject subject-distinguished-name

Description

Manually generate a self-signed certificate for the given distinguished name.

Options

certificate-id certificate-id-name

Name of the local digital certificate and the public/private key pair.

domain-name domain-name

Fully qualified domain name (FQDN). The FQDN provides the identity of the certificate owner for Internet Key Exchange (IKE) negotiations and provides an alternative to the subject name.

email email-address

E-mail address of the certificate holder.

ip-address ip-address

IP address of the router.

subject subject-distinguished-name

Distinguished name format that contains the common name, department, company name, state, and country:

  • CN—Common name

  • OU—Organizational unit name

  • O—Organization name

  • ST—State

  • C—Country

Required Privilege Level

maintenance

security

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

command-name

content_copy zoom_out_map
user@host> request security pki local-certificate generate-self-signed certificate-id self-cert subject cn=abc domain-name example.net email user1@example.net  
Self-signed certificate generated and loaded successfully

Release Information

Command introduced in Junos OS Release 9.1.

footer-navigation