Renaming a certificate using the CLI

Prev Next

Use the commands in this section to rename a certificate.

To rename a certificate:
  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Rename the certificate:

    hostname (config) # crypto certificate name <currentName> rename <newName>
  3. Save your changes:

    hostname (config) # write 

Example

The following example renames the "server" certificate to "web-cert" so it can be activated for the Web server, and then activates it.

hostname (config) # crypto certificate name server rename web-cert
hostname (config) # web server certificate name web-cert