Fortinet white logo
Fortinet white logo

CLI Reference

7.2.2

config user peer

config user peer

Configure peer users.

Syntax

config user peer
    edit <name>
        set ca {string}
        set cn {string}
        set email {string}
        set fqdn {string}
        set ip {string}
        set mandatory-ca-verify [enable|disable]
        set subject {string}
    next
end

Parameters

Parameter

Description

Type

Size

Default

ca

Name of the CA certificate.

string

Maximum length: 127

cn

Peer certificate common name.

string

Maximum length: 255

email

Peer certificate email address.

string

Maximum length: 255

fqdn

Peer certificate FQDN.

string

Maximum length: 255

ip

Peer certificate ip address.

string

Maximum length: 255

mandatory-ca-verify

Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

name

Peer name.

string

Maximum length: 35

subject

Peer certificate name constraints.

string

Maximum length: 255

config user peer

config user peer

Configure peer users.

Syntax

config user peer
    edit <name>
        set ca {string}
        set cn {string}
        set email {string}
        set fqdn {string}
        set ip {string}
        set mandatory-ca-verify [enable|disable]
        set subject {string}
    next
end

Parameters

Parameter

Description

Type

Size

Default

ca

Name of the CA certificate.

string

Maximum length: 127

cn

Peer certificate common name.

string

Maximum length: 255

email

Peer certificate email address.

string

Maximum length: 255

fqdn

Peer certificate FQDN.

string

Maximum length: 255

ip

Peer certificate ip address.

string

Maximum length: 255

mandatory-ca-verify

Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

name

Peer name.

string

Maximum length: 35

subject

Peer certificate name constraints.

string

Maximum length: 255