Fortinet black logo

CLI reference

config system certificate local

config system certificate local

Use this command to import signed certificates and certificate requests to install them for local use by FortiNDR.

FortiNDR requires a local server certificate that it can present when clients request secure connections.

Note

When using this command to import a local certificate, you must follow the order of the commands described below. This is because privatekey needs the password to decrypt the private key and certificate needs a matched private key file.

Syntax

config system certificate local
    edit <name_str>
        set password
        set private-key
        set certificate <cert_str>
        set csr <csr_str>
        set comments <comment_str>
    end

Variable

Description

Default

<name_str>

The name of the certificate to be imported.

password

The password of the certificate.

private-key

The private key of the certificate.

certificate <cert_str>

Enter or paste the certificate in PEM format to import it.

csr <csr_str>

Enter or paste the certificate signing request in PEM format to import it.

comments <comment_str>

Comments for this certificate.

config system certificate local

Use this command to import signed certificates and certificate requests to install them for local use by FortiNDR.

FortiNDR requires a local server certificate that it can present when clients request secure connections.

Note

When using this command to import a local certificate, you must follow the order of the commands described below. This is because privatekey needs the password to decrypt the private key and certificate needs a matched private key file.

Syntax

config system certificate local
    edit <name_str>
        set password
        set private-key
        set certificate <cert_str>
        set csr <csr_str>
        set comments <comment_str>
    end

Variable

Description

Default

<name_str>

The name of the certificate to be imported.

password

The password of the certificate.

private-key

The private key of the certificate.

certificate <cert_str>

Enter or paste the certificate in PEM format to import it.

csr <csr_str>

Enter or paste the certificate signing request in PEM format to import it.

comments <comment_str>

Comments for this certificate.