Fortinet black logo

CLI Reference

vpn certificate local import

vpn certificate local import

Use this command to import a local certificate to the FortiGate unit from a TFTP server.

Digital certificates are used to ensure that both participants in a communications session are trustworthy, prior to an encrypted VPN tunnel being set up between the participants. The local certificate is the certificate that the FortiGate unit uses to authenticate itself to other devices.

Syntax

execute vpn certificate local import tftp  Import the signed certificate from a TFTP server.
        {string}   File name on the TFTP server.
            {ip}   IP address of TFTP server.
                {string}   Certificate file type ('cer'|'p12').
                    {Enter}|{passwd}   Password for PKCS12 file.

Example

Use the following command to import the signed local certificate named branch_cert to the FortiGate unit from a TFTP server with the address 192.168.21.54.

execute vpn certificate local import branch_cert 192.168.21.54

vpn certificate local import

Use this command to import a local certificate to the FortiGate unit from a TFTP server.

Digital certificates are used to ensure that both participants in a communications session are trustworthy, prior to an encrypted VPN tunnel being set up between the participants. The local certificate is the certificate that the FortiGate unit uses to authenticate itself to other devices.

Syntax

execute vpn certificate local import tftp  Import the signed certificate from a TFTP server.
        {string}   File name on the TFTP server.
            {ip}   IP address of TFTP server.
                {string}   Certificate file type ('cer'|'p12').
                    {Enter}|{passwd}   Password for PKCS12 file.

Example

Use the following command to import the signed local certificate named branch_cert to the FortiGate unit from a TFTP server with the address 192.168.21.54.

execute vpn certificate local import branch_cert 192.168.21.54