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. |