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 key-pair

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
request security key-pair filename   
<size key-size> 
<type (rsa | dsa)>

Description

(Encryption interface on M Series and T Series routers and EX Series switches only) Generate a public and private key pair for a digital certificate.

Note:

The request security-certificates command is deprecated and are not available with Junos in FIPS mode because security certificates are not compliant with the NIST SP 800-131A standard.

Options

filename

Name of a file in which to store the key pair.

size key-size

(Optional) Key size, in bits. The key size can be 512, 1024, or 2048. The default value is 1024.

type

(Optional) Algorithm used to encrypt the key:

  • rsa—RSA algorithm. This is the default.

  • dsa—Digital signature algorithm with Secure Hash Algorithm (SHA).

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 key-pair

content_copy zoom_out_map
user@host> request security key-pair security-key-file  

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation