Fortinet white logo
Fortinet white logo

CLI Reference

restore cert-config

restore cert-config

Use this command to restore certificates of a FortiWeb appliance from a TFTP server.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

execute restore cer-config <filename_str> <tftp_ipv4>[<password_str>]

Variable Description Default

<filename_str>

Enter the name of the file to be used for the backup file, such as FortiWeb_backup.zip. No default.

<tftp_ipv4>

Enter the IP address of the TFTP server. No default.

[<password_str>]

Enter a password to be used when decompressing the backup file.

Caution: Remember the password or keep it in a secure location. You will be required to enter the same password when restoring an encrypted backup file. If you forget or lose the password, you won't be able to use that encrypted backup file.

No default.

Example

This example restores certificates of the FortiWeb appliance on a TFTP server at IP address 192.0.2.23. The file is encrypted with the password P@ssword1.

execute restore cert-config tftp FortiWeb_backup.zip 192.0.2.23 P@ssword1

Related topics

restore cert-config

restore cert-config

Use this command to restore certificates of a FortiWeb appliance from a TFTP server.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

execute restore cer-config <filename_str> <tftp_ipv4>[<password_str>]

Variable Description Default

<filename_str>

Enter the name of the file to be used for the backup file, such as FortiWeb_backup.zip. No default.

<tftp_ipv4>

Enter the IP address of the TFTP server. No default.

[<password_str>]

Enter a password to be used when decompressing the backup file.

Caution: Remember the password or keep it in a secure location. You will be required to enter the same password when restoring an encrypted backup file. If you forget or lose the password, you won't be able to use that encrypted backup file.

No default.

Example

This example restores certificates of the FortiWeb appliance on a TFTP server at IP address 192.0.2.23. The file is encrypted with the password P@ssword1.

execute restore cert-config tftp FortiWeb_backup.zip 192.0.2.23 P@ssword1

Related topics