# config system certificate ssh8) Test backup from FortiAnalyzer/FortiManager.
edit <cert-name>
set private-key "<copy from the decrypted user key you got in step f>" <----- Do not forget to have the quotes (") before and after the text you copy/paste here.
set certificate "<copy from the content of file user-key-cert.pub>" <----- Do not forget to have the quotes (") before and after the text you copy/paste here)
end
# exec backup all-settings scp <scp server ip, i.e. ip address of the linux server used above> <path/filename> <username> <cert-name>Where username is a user account on scp server, which trusts the CA key.
# config system backup all-settings
set status enable
set server <ip address of the linux server above>
set user <username>
set directory <backup directory on server>
set week_days monday Tuesday …
set time <time>
set protocol scp
set cert <cert-name>
end