execute > execute certificate local

execute certificate local

Use this command to import/export a certficate file or to generate/regenerate a certificate file. An alternative to config system certificate local.

Note: Importing a local certificate with pfx format is not supported, unless you have first used FortiADC to generate the CSR.

Syntax

execute certificate local import tftp <filename> <ip>

execute certificate local export tftp <cert> <filename> <ip>

execute certificate local generate <cert_name> <keysize> <subject> <country> <state> <org> <unit> <email>

execute certificate local regenerate

 

<cert>

Local (FortiADC) certificate name.

<filename>

Name of the certificate file.

<ip>

IP address of the TFTP server.

Example

FortiADC-VM # execute certificate local import tftp fortiadc.crt 192.168.1.23

 

FortiADC-VM # execute certificate local export tftp Factory fortiadc.crt 192.168.1.23

#

Done.

 

FortiADC-VM # execute certificate local generate csr_name_test 512 example nullca sunnyvale fortinet fadc root

Generating a 512 bit RSA private key

Generating X.509 certificate request

Done.

 

FortiADC-VM # execute certificate local regenerate

self certificate regenerated!