Generate an RSA or DSA key

Note: To generate an SSH key file, SSH must be disabled (see Configure the global SSH access settings).

To generate an RSA or DSA key:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Security > Access > SSH > Host Keys Management.

    The Host Keys Management page displays.

    The Keys Present field displays whether a certificate is present on the switch.

  3. Do one of the following:
    • RSA key: In the RSA Keys Management section, select the Generate RSA Keys radio button.

    • DSA key: In the DSA Keys Management section, select the Generate DSA Keys radio button.

  4. Click the Apply button.

    The switch generates a key. The Key Generation In Progress field shows progress information.

  5. To save the settings to the running configuration, click the Save icon.

The following table describes the view-only fields on the page.

Table 1. Host Key Status information

Field

Description

Keys Present

Displays which of the following keys or both (if any) are present on the device:

  • SSH-2 Rivest-Shamir-Adelman (RSA) key file (PEM Encoded)

  • SSH-2 Digital Signature Algorithm (DSA) key file (PEM Encoded)

Key Generation In Progress

Displays which key is being generated (if any), RSA, DSA, or None.