Description | This article describes how to rename the Certificate in the FortiGate. |
Scope | FortiGate. |
Solution |
The following commands can be used to check whether a certificate can be renamed. The '?' command is used to show the list of all available sub-commands in a particular context.
When multi-VDOM mode is enabled or disabled:
config vpn certificate {local | ca | remote | ocsp-server | crl}
When multi-VDOM mode is enabled but in Global-VDOM:
config certificate {local | ca | remote | ocsp-server | crl}
edit: Add/edit a table value.
The rename command can then be used as shown below:
FGT(CA) # rename <old-cert_name> to <new-cert_name>
The following example shows how to change the name of the CA cert:
FGT# config vpn certificate ca FGT(ca) # show
FGT(ca) # rename CA_Cert_1 to FSRAO_CA_CERT
SDC-INTFW-01 (ca) # show
The following example shows how to change the name of the CA cert in Global-VDOM:
FGT (global)# config certificate ca FGT(ca) # show
FGT(ca) # rename CA_Cert_1 to FSRAO_CA_CERT
SDC-INTFW-01 (ca) # show
Renaming a certificate could potentially disrupt services that rely on the old certificate name. To list services using the certificate, use the following command:
diagnose vpn certificate list-usage <old-cert_name> |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.