Regenerate default certificates
The FortiGate includes default certificates that are generated the first time that the FortiGate is booted up. In some circumstances, it can be necessary to regenerate these certificates, such as when they are nearing expiry, or if the key becomes compromised.
To regenerate default certificates:
# execute vpn certificate local generate default-gui-mgmt-cert
# execute vpn certificate local generate default-ssl-ca
# execute vpn certificate local generate default-ssl-ca-untrusted
# execute vpn certificate local generate default-ssl-key-certs
# execute vpn certificate local generate default-ssl-serv-key
default-gui-mgmt-cert |
Regenerate the default GUI management admin-server (Fortinet_GUI_Server) certificate. |
default-ssl-ca |
Regenerate the default CA certificate (Fortinet_CA_SSL) used by SSL Inspection. |
default-ssl-ca-untrusted |
Regenerate the default untrusted CA certificate (Fortinet_CA_Untrusted) used by SSL Inspection. |
default-ssl-key-certs |
Regenerate the default RSA, DSA, ECDSA, and EdDSA key certificates for SSL resign:
|
default-ssl-serv-key |
Regenerate the default server key (Fortinet_SSL) used by SSL Inspection. |