Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Generating a Private and Public Key Pair for Digital Certificates for an ES PIC

To generate a private and public key, issue the following command:

user@host> request security key-pair name size key-size type ( rsa | dsa )

name specifies the filename in which to store the public and private keys.

key-size can be 512, 1024, 1596, or 2048 bytes. The default key size is 1024 bytes.

type can be rsa or dsa. The default is RSA.

Note: When you use SCEP, the Junos OS only supports RSA.

The following example shows how to generate a private and public key pair:

user@host> request security key-pair battGenerated key pair, key size 1024, file batt Algorithm RSA

Published: 2012-07-03

Supported Platforms

Published: 2012-07-03