Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    request security key-pair

    Syntax

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

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    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.

    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

    List of Sample Output

    request security key-pair

    Output Fields

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

    Sample Output

    request security key-pair

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

    Published: 2013-03-14