Use the commands in this section to rename a certificate.
To rename a certificate:
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Rename the certificate:
hostname (config) # crypto certificate name <currentName> rename <newName>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