Fortinet black logo

CLI Reference

backup cert-config

backup cert-config

Use this command to back up certificates of a FortiWeb appliance to 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 backup 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 backs up 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 backup cert-config tftp FortiWeb_backup.zip 192.0.2.23 P@ssword1

Related topics

backup cert-config

Use this command to back up certificates of a FortiWeb appliance to 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 backup 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 backs up 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 backup cert-config tftp FortiWeb_backup.zip 192.0.2.23 P@ssword1

Related topics