[Contents] [Prev] [Next] [Index] [Report an Error]

Generating a Private and Public Key

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 software only supports RSA.

Generate a private and public key:

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

[Contents] [Prev] [Next] [Index] [Report an Error]