Transfer an existing HTTPS certificate from a server to the switch

You can transfer a certificate file from a secure server to the switch. A certificate that you transfer to the switch is assigned number 1.

Note: For information about downloading and installing an SSL certificate over an HTTP session, see Download and install an SSL security certificate file on the switch.

For the switch to accept HTTPS connections from a device, the switch requires a public key certificate. You can generate a certificate externally (for example, offline) or obtain a certificate authority (CA)-signed certificate and transfer it to the switch.

Before you transfer a file from a server to the switch, the following conditions must be true:

  • The file that you transfer from a server is on the server in the appropriate directory.

  • The file is in the correct format.

  • The switch contains a path to the server.

Note: Before you can transfer a certificate, you must disable HTTPS (see Configure the HTTP access settings) and log back in to the main UI over an HTTP session. After you transfer the certificate, you can reenable HTTPS and log back in to the main UI over an HTTPS session.

To transfer an HTTPS certificate to the switch:

  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 > HTTPS > Certificate Download.

    The Certificate Update page displays.

  3. From the File Type menu, select the type of SSL certificate to download:
    • SSL Trusted Root Certificate PEM File: SSL Trusted Root Certificate file (PEM Encoded)

    • SSL Server Certificate PEM File: SSL Server Certificate File (PEM Encoded)

    • SSL DH 1024 Encryption Parameter PEM File: SSL Diffie-Hellman 1024-bit Encryption Parameter File (PEM Encoded)

    • SSL DH 2048 Encryption Parameter PEM File: SSL Diffie-Hellman 2048-bit Encryption Parameter File (PEM Encoded)

  4. From the Transfer Mode menu, select the protocol that must be used to transfer the file:
    • TFTP: Trivial File Transfer Protocol

    • SFTP: Secure File Transfer Protocol

    • SCP: Secure Copy Protocol

  5. From the Server Address Type menu, select IPv4, IPv6, or DNS to indicate the format for the TFTP Server IP field.

    The default is IPv4.

  6. In the Server Address field, specify the address or host name of the server.

    The address can be an IP address in the standard IPv4 or IPv6 address format or a host name. The host name must start with a letter of the alphabet.

  7. In the Remote File Path field, enter the path of the file to download.

    You can enter up to 96 characters. The default is blank.

  8. In the Remote File Name field, enter the name of the file on the TFTP server to download.

    You can enter up to 32 characters. The default is blank.

  9. If you select SFTP or SCP from the Transfer Mode menu, specify the following settings:
    • User Name: Specify the user name for login to the server.

    • Password: Specify the password for login to the server.

  10. Click the Apply button.

    The file transfer starts.

    A status message displays during the transfer and upon successful completion of the transfer.

    After the file transfer is complete, the certificate is assigned number 1.

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