Fortinet white logo
Fortinet white logo

CLI Reference

config local

config local

Description: Configure Local keys and certificates.

config local

edit <name>

set comment {string}

set *source [factory | user]

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
FX201E5919000057 (certificate) # show
config vpn certificate
    config ca
        edit Fortinet_CA
            set comment
            set source factory
        next
        edit Fortinet_CA_Backup
            set comment
            set source factory
        next
        edit Fortinet_Sub_CA
            set comment
            set source factory
        next
    end
    config local
        edit Fortinet_Factory
            set comment
            set source factory
        next
        edit Fortinet_Factory_Backup
            set comment
            set source factory
        next
    end
end
Parameter Description Type Size Default
comment Optional comments. string Up to 255 characters in length. none
source Source of CA certificate. option - factory
Option Description
factory From the manufacturer.
user From the user.

config local

config local

Description: Configure Local keys and certificates.

config local

edit <name>

set comment {string}

set *source [factory | user]

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
FX201E5919000057 (certificate) # show
config vpn certificate
    config ca
        edit Fortinet_CA
            set comment
            set source factory
        next
        edit Fortinet_CA_Backup
            set comment
            set source factory
        next
        edit Fortinet_Sub_CA
            set comment
            set source factory
        next
    end
    config local
        edit Fortinet_Factory
            set comment
            set source factory
        next
        edit Fortinet_Factory_Backup
            set comment
            set source factory
        next
    end
end
Parameter Description Type Size Default
comment Optional comments. string Up to 255 characters in length. none
source Source of CA certificate. option - factory
Option Description
factory From the manufacturer.
user From the user.