Fortinet white logo
Fortinet white logo

CLI Reference

config firewall ssl-ssh-profile

config firewall ssl-ssh-profile

Configure SSL/SSH protocol options.

config firewall ssl-ssh-profile
    Description: Configure SSL/SSH protocol options.
    edit <name>
        set comment {var-string}
        config ssl
            Description: Configure SSL options.
            set inspect-all [disable|certificate-inspection|...]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
            set cert-probe-failure [allow|block]
            set min-allowed-ssl-version [ssl-3.0|tls-1.0|...]
        end
        config https
            Description: Configure HTTPS options.
            set ports {integer}
            set status [disable|certificate-inspection|...]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
            set cert-probe-failure [allow|block]
            set min-allowed-ssl-version [ssl-3.0|tls-1.0|...]
        end
        config ftps
            Description: Configure FTPS options.
            set ports {integer}
            set status [disable|deep-inspection]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
            set min-allowed-ssl-version [ssl-3.0|tls-1.0|...]
        end
        config imaps
            Description: Configure IMAPS options.
            set ports {integer}
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
        end
        config pop3s
            Description: Configure POP3S options.
            set ports {integer}
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
        end
        config smtps
            Description: Configure SMTPS options.
            set ports {integer}
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
        end
        config ssh
            Description: Configure SSH options.
            set ports {integer}
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set unsupported-version [bypass|block]
            set ssh-tun-policy-check [disable|enable]
            set ssh-algorithm [compatible|high-encryption]
        end
        config dot
            Description: Configure DNS over TLS options.
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
        end
        config ssl-client-certificate
            Description: Configure SSL client certificate setting.
            set status [do-not-offer|keyring-list|...]
            set keyring-list {string}
            set caname {string}
        end
        config ssl-exempt
            Description: Servers to exempt from SSL inspection.
            edit <id>
                set type [fortiguard-category|address|...]
                set fortiguard-category {integer}
                set address {string}
                set address6 {string}
                set wildcard-fqdn {string}
                set regex {string}
                set finger-print-category [unknown|firefox|...]
            next
        end
        set allowlist [enable|disable]
        set block-blocklisted-certificates [disable|enable]
        set server-cert-mode [re-sign|replace]
        set use-ssl-server [disable|enable]
        set caname {string}
        set untrusted-caname {string}
        set server-cert <name1>, <name2>, ...
        config ssl-server
            Description: SSL server settings used for client certificate request.
            edit <id>
                set ip {ipv4-address-any}
                set https-client-certificate [bypass|inspect|...]
                set smtps-client-certificate [bypass|inspect|...]
                set pop3s-client-certificate [bypass|inspect|...]
                set imaps-client-certificate [bypass|inspect|...]
                set ftps-client-certificate [bypass|inspect|...]
                set ssl-other-client-certificate [bypass|inspect|...]
            next
        end
        set ssl-exemption-ip-rating [enable|disable]
        set ssl-exemption-log [disable|enable]
        set ssl-anomaly-log [disable|enable]
        set ssl-negotiation-log [disable|enable]
        set ssl-server-cert-log [disable|enable]
        set ssl-handshake-log [disable|enable]
        set rpc-over-https [enable|disable]
        set mapi-over-https [enable|disable]
        set supported-alpn [http1-1|http2|...]
    next
end

config firewall ssl-ssh-profile

Parameter

Description

Type

Size

Default

name

Name.

string

Maximum length: 35

comment

Optional comments.

var-string

Maximum length: 255

allowlist

Enable/disable exempting servers by FortiGuard allowlist.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

block-blocklisted-certificates

Enable/disable blocking SSL-based botnet communication by FortiGuard certificate blocklist.

option

-

enable

Option

Description

disable

Disable FortiGuard certificate blocklist.

enable

Enable FortiGuard certificate blocklist.

server-cert-mode

Re-sign or replace the server's certificate.

option

-

re-sign

Option

Description

re-sign

Multiple clients connecting to multiple servers.

replace

Protect an SSL server.

use-ssl-server

Enable/disable the use of SSL server table for SSL offloading.

option

-

disable

Option

Description

disable

Don't use SSL server configuration.

enable

Use SSL server configuration.

caname

CA certificate used by SSL Inspection.

string

Maximum length: 35

default-ca

untrusted-caname

Untrusted CA certificate used by SSL Inspection.

string

Maximum length: 35

default-untrusted-ca

server-cert <name>

Certificate used by SSL Inspection to replace server certificate.

Certificate list.

string

Maximum length: 35

ssl-exemption-ip-rating

Enable/disable IP based URL rating.

option

-

enable

Option

Description

enable

Enable IP based URL rating.

disable

Disable IP based URL rating.

ssl-exemption-log

Enable/disable logging SSL exemptions.

option

-

disable

Option

Description

disable

Disable logging SSL exemptions.

enable

Enable logging SSL exemptions.

ssl-anomaly-log

Enable/disable logging of SSL anomalies.

option

-

enable

Option

Description

disable

Disable logging of SSL anomalies.

enable

Enable logging of SSL anomalies.

ssl-negotiation-log

Enable/disable logging SSL negotiation.

option

-

disable

Option

Description

disable

Disable logging SSL negotiation.

enable

Enable logging SSL negotiation.

ssl-server-cert-log

Enable/disable logging of server certificate information.

option

-

disable

Option

Description

disable

Disable logging server certificate.

enable

Enable logging server certificate.

ssl-handshake-log

Enable/disable logging of TLS handshakes.

option

-

disable

Option

Description

disable

Disable logging TLS handshakes.

enable

Enable logging TLS handshakes.

rpc-over-https

Enable/disable inspection of RPC over HTTPS.

option

-

disable

Option

Description

enable

Enable inspection of RPC over HTTPS.

disable

Disable inspection of RPC over HTTPS.

mapi-over-https

Enable/disable inspection of MAPI over HTTPS.

option

-

disable

Option

Description

enable

Enable inspection of MAPI over HTTPS.

disable

Disable inspection of MAPI over HTTPS.

supported-alpn

Configure ALPN option.

option

-

all

Option

Description

http1-1

Enable all ALPN including HTTP1.1 except HTTP2 and SPDY.

http2

Enable all ALPN including HTTP2 except HTTP1.1 and SPDY.

all

Allow all ALPN extensions except SPDY.

none

Do not use ALPN.

config ssl

Parameter

Description

Type

Size

Default

inspect-all

Level of SSL inspection.

option

-

disable

Option

Description

disable

Disable.

certificate-inspection

Inspect SSL handshake only.

deep-inspection

Full SSL inspection.

client-certificate

Action based on received client certificate.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

cert-probe-failure

Action based on certificate probe failure.

option

-

block

Option

Description

allow

Bypass the session when unable to retrieve server's certificate for inspection.

block

Block the session when unable to retrieve server's certificate for inspection.

min-allowed-ssl-version

Minimum SSL version to be allowed.

option

-

tls-1.1

Option

Description

ssl-3.0

SSL 3.0.

tls-1.0

TLS 1.0.

tls-1.1

TLS 1.1.

tls-1.2

TLS 1.2.

tls-1.3

TLS 1.3.

config https

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

certificate-inspection

Inspect SSL handshake only.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

cert-probe-failure

Action based on certificate probe failure.

option

-

block

Option

Description

allow

Bypass the session when unable to retrieve server's certificate for inspection.

block

Block the session when unable to retrieve server's certificate for inspection.

min-allowed-ssl-version

Minimum SSL version to be allowed.

option

-

tls-1.1

Option

Description

ssl-3.0

SSL 3.0.

tls-1.0

TLS 1.0.

tls-1.1

TLS 1.1.

tls-1.2

TLS 1.2.

tls-1.3

TLS 1.3.

config ftps

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

client-certificate

Action based on received client certificate.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

min-allowed-ssl-version

Minimum SSL version to be allowed.

option

-

tls-1.1

Option

Description

ssl-3.0

SSL 3.0.

tls-1.0

TLS 1.0.

tls-1.1

TLS 1.1.

tls-1.2

TLS 1.2.

tls-1.3

TLS 1.3.

config imaps

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

inspect

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

config pop3s

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

inspect

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

config smtps

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

inspect

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

config ssh

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

disable

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

unsupported-version

Action based on SSH version being unsupported.

option

-

bypass

Option

Description

bypass

Bypass the session.

block

Block the session.

ssh-tun-policy-check

Enable/disable SSH tunnel policy check.

option

-

disable

Option

Description

disable

Disable SSH tunnel policy check.

enable

Enable SSH tunnel policy check.

ssh-algorithm

Relative strength of encryption algorithms accepted during negotiation.

option

-

compatible

Option

Description

compatible

Allow a broader set of encryption algorithms for best compatibility.

high-encryption

Allow only AES-CTR, AES-GCM ciphers and high encryption algorithms.

config dot

Parameter

Description

Type

Size

Default

status

Configure protocol inspection status.

option

-

disable

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

config ssl-client-certificate

Parameter

Description

Type

Size

Default

status

Configure SSL client certificate status.

option

-

do-not-offer

Option

Description

do-not-offer

Do not offer SSL client certificate.

keyring-list

For authenticated users, offer matching SSL client certificate from keyring list.

ca-sign

For authenticated users, offer SSL client certificate signed by configured CA.

keyring-list

Keyring list used to find client certificate.

string

Maximum length: 35

caname

CA certificate used to sign client certificate.

string

Maximum length: 35

Fortinet_CA_SSL

config ssl-exempt

Parameter

Description

Type

Size

Default

id

ID number.

integer

Minimum value: 0 Maximum value: 512

0

type

Type of address object (IPv4 or IPv6) or FortiGuard category.

option

-

fortiguard-category

Option

Description

fortiguard-category

FortiGuard category.

address

Firewall IPv4 address.

address6

Firewall IPv6 address.

wildcard-fqdn

Fully Qualified Domain Name with wildcard characters.

regex

Regular expression FQDN.

finger-print

TLS finger print.

fortiguard-category

FortiGuard category ID.

integer

Minimum value: 0 Maximum value: 255

0

address

IPv4 address object.

string

Maximum length: 79

address6

IPv6 address object.

string

Maximum length: 79

wildcard-fqdn

Exempt servers by wildcard FQDN.

string

Maximum length: 79

regex

Exempt servers by regular expression.

string

Maximum length: 255

finger-print-category

Finger print platform.

option

-

android

Option

Description

unknown

Unknown clients.

firefox

Firefox.

chrome

Chrome.

safari

Safari.

edge

Edge.

ie

Internet Explorer.

android

Android applications.

ios

iOS applications.

windows

Windows applications.

config ssl-server

Parameter

Description

Type

Size

Default

id

SSL server ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip

IPv4 address of the SSL server.

ipv4-address-any

Not Specified

0.0.0.0

https-client-certificate

Action based on received client certificate during the HTTPS handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

smtps-client-certificate

Action based on received client certificate during the SMTPS handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

pop3s-client-certificate

Action based on received client certificate during the POP3S handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

imaps-client-certificate

Action based on received client certificate during the IMAPS handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

ftps-client-certificate

Action based on received client certificate during the FTPS handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

ssl-other-client-certificate

Action based on received client certificate during an SSL protocol handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

config firewall ssl-ssh-profile

config firewall ssl-ssh-profile

Configure SSL/SSH protocol options.

config firewall ssl-ssh-profile
    Description: Configure SSL/SSH protocol options.
    edit <name>
        set comment {var-string}
        config ssl
            Description: Configure SSL options.
            set inspect-all [disable|certificate-inspection|...]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
            set cert-probe-failure [allow|block]
            set min-allowed-ssl-version [ssl-3.0|tls-1.0|...]
        end
        config https
            Description: Configure HTTPS options.
            set ports {integer}
            set status [disable|certificate-inspection|...]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
            set cert-probe-failure [allow|block]
            set min-allowed-ssl-version [ssl-3.0|tls-1.0|...]
        end
        config ftps
            Description: Configure FTPS options.
            set ports {integer}
            set status [disable|deep-inspection]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
            set min-allowed-ssl-version [ssl-3.0|tls-1.0|...]
        end
        config imaps
            Description: Configure IMAPS options.
            set ports {integer}
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
        end
        config pop3s
            Description: Configure POP3S options.
            set ports {integer}
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
        end
        config smtps
            Description: Configure SMTPS options.
            set ports {integer}
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
        end
        config ssh
            Description: Configure SSH options.
            set ports {integer}
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set unsupported-version [bypass|block]
            set ssh-tun-policy-check [disable|enable]
            set ssh-algorithm [compatible|high-encryption]
        end
        config dot
            Description: Configure DNS over TLS options.
            set status [disable|deep-inspection]
            set proxy-after-tcp-handshake [enable|disable]
            set client-certificate [bypass|inspect|...]
            set unsupported-ssl-version [allow|block]
            set unsupported-ssl-cipher [allow|block]
            set unsupported-ssl-negotiation [allow|block]
            set expired-server-cert [allow|block|...]
            set revoked-server-cert [allow|block|...]
            set untrusted-server-cert [allow|block|...]
            set cert-validation-timeout [allow|block|...]
            set cert-validation-failure [allow|block|...]
            set sni-server-cert-check [enable|strict|...]
        end
        config ssl-client-certificate
            Description: Configure SSL client certificate setting.
            set status [do-not-offer|keyring-list|...]
            set keyring-list {string}
            set caname {string}
        end
        config ssl-exempt
            Description: Servers to exempt from SSL inspection.
            edit <id>
                set type [fortiguard-category|address|...]
                set fortiguard-category {integer}
                set address {string}
                set address6 {string}
                set wildcard-fqdn {string}
                set regex {string}
                set finger-print-category [unknown|firefox|...]
            next
        end
        set allowlist [enable|disable]
        set block-blocklisted-certificates [disable|enable]
        set server-cert-mode [re-sign|replace]
        set use-ssl-server [disable|enable]
        set caname {string}
        set untrusted-caname {string}
        set server-cert <name1>, <name2>, ...
        config ssl-server
            Description: SSL server settings used for client certificate request.
            edit <id>
                set ip {ipv4-address-any}
                set https-client-certificate [bypass|inspect|...]
                set smtps-client-certificate [bypass|inspect|...]
                set pop3s-client-certificate [bypass|inspect|...]
                set imaps-client-certificate [bypass|inspect|...]
                set ftps-client-certificate [bypass|inspect|...]
                set ssl-other-client-certificate [bypass|inspect|...]
            next
        end
        set ssl-exemption-ip-rating [enable|disable]
        set ssl-exemption-log [disable|enable]
        set ssl-anomaly-log [disable|enable]
        set ssl-negotiation-log [disable|enable]
        set ssl-server-cert-log [disable|enable]
        set ssl-handshake-log [disable|enable]
        set rpc-over-https [enable|disable]
        set mapi-over-https [enable|disable]
        set supported-alpn [http1-1|http2|...]
    next
end

config firewall ssl-ssh-profile

Parameter

Description

Type

Size

Default

name

Name.

string

Maximum length: 35

comment

Optional comments.

var-string

Maximum length: 255

allowlist

Enable/disable exempting servers by FortiGuard allowlist.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

block-blocklisted-certificates

Enable/disable blocking SSL-based botnet communication by FortiGuard certificate blocklist.

option

-

enable

Option

Description

disable

Disable FortiGuard certificate blocklist.

enable

Enable FortiGuard certificate blocklist.

server-cert-mode

Re-sign or replace the server's certificate.

option

-

re-sign

Option

Description

re-sign

Multiple clients connecting to multiple servers.

replace

Protect an SSL server.

use-ssl-server

Enable/disable the use of SSL server table for SSL offloading.

option

-

disable

Option

Description

disable

Don't use SSL server configuration.

enable

Use SSL server configuration.

caname

CA certificate used by SSL Inspection.

string

Maximum length: 35

default-ca

untrusted-caname

Untrusted CA certificate used by SSL Inspection.

string

Maximum length: 35

default-untrusted-ca

server-cert <name>

Certificate used by SSL Inspection to replace server certificate.

Certificate list.

string

Maximum length: 35

ssl-exemption-ip-rating

Enable/disable IP based URL rating.

option

-

enable

Option

Description

enable

Enable IP based URL rating.

disable

Disable IP based URL rating.

ssl-exemption-log

Enable/disable logging SSL exemptions.

option

-

disable

Option

Description

disable

Disable logging SSL exemptions.

enable

Enable logging SSL exemptions.

ssl-anomaly-log

Enable/disable logging of SSL anomalies.

option

-

enable

Option

Description

disable

Disable logging of SSL anomalies.

enable

Enable logging of SSL anomalies.

ssl-negotiation-log

Enable/disable logging SSL negotiation.

option

-

disable

Option

Description

disable

Disable logging SSL negotiation.

enable

Enable logging SSL negotiation.

ssl-server-cert-log

Enable/disable logging of server certificate information.

option

-

disable

Option

Description

disable

Disable logging server certificate.

enable

Enable logging server certificate.

ssl-handshake-log

Enable/disable logging of TLS handshakes.

option

-

disable

Option

Description

disable

Disable logging TLS handshakes.

enable

Enable logging TLS handshakes.

rpc-over-https

Enable/disable inspection of RPC over HTTPS.

option

-

disable

Option

Description

enable

Enable inspection of RPC over HTTPS.

disable

Disable inspection of RPC over HTTPS.

mapi-over-https

Enable/disable inspection of MAPI over HTTPS.

option

-

disable

Option

Description

enable

Enable inspection of MAPI over HTTPS.

disable

Disable inspection of MAPI over HTTPS.

supported-alpn

Configure ALPN option.

option

-

all

Option

Description

http1-1

Enable all ALPN including HTTP1.1 except HTTP2 and SPDY.

http2

Enable all ALPN including HTTP2 except HTTP1.1 and SPDY.

all

Allow all ALPN extensions except SPDY.

none

Do not use ALPN.

config ssl

Parameter

Description

Type

Size

Default

inspect-all

Level of SSL inspection.

option

-

disable

Option

Description

disable

Disable.

certificate-inspection

Inspect SSL handshake only.

deep-inspection

Full SSL inspection.

client-certificate

Action based on received client certificate.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

cert-probe-failure

Action based on certificate probe failure.

option

-

block

Option

Description

allow

Bypass the session when unable to retrieve server's certificate for inspection.

block

Block the session when unable to retrieve server's certificate for inspection.

min-allowed-ssl-version

Minimum SSL version to be allowed.

option

-

tls-1.1

Option

Description

ssl-3.0

SSL 3.0.

tls-1.0

TLS 1.0.

tls-1.1

TLS 1.1.

tls-1.2

TLS 1.2.

tls-1.3

TLS 1.3.

config https

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

certificate-inspection

Inspect SSL handshake only.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

cert-probe-failure

Action based on certificate probe failure.

option

-

block

Option

Description

allow

Bypass the session when unable to retrieve server's certificate for inspection.

block

Block the session when unable to retrieve server's certificate for inspection.

min-allowed-ssl-version

Minimum SSL version to be allowed.

option

-

tls-1.1

Option

Description

ssl-3.0

SSL 3.0.

tls-1.0

TLS 1.0.

tls-1.1

TLS 1.1.

tls-1.2

TLS 1.2.

tls-1.3

TLS 1.3.

config ftps

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

client-certificate

Action based on received client certificate.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

min-allowed-ssl-version

Minimum SSL version to be allowed.

option

-

tls-1.1

Option

Description

ssl-3.0

SSL 3.0.

tls-1.0

TLS 1.0.

tls-1.1

TLS 1.1.

tls-1.2

TLS 1.2.

tls-1.3

TLS 1.3.

config imaps

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

inspect

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

config pop3s

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

inspect

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

config smtps

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

deep-inspection

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

inspect

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

config ssh

Parameter

Description

Type

Size

Default

ports

Ports to use for scanning.

integer

Minimum value: 1 Maximum value: 65535

status

Configure protocol inspection status.

option

-

disable

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

unsupported-version

Action based on SSH version being unsupported.

option

-

bypass

Option

Description

bypass

Bypass the session.

block

Block the session.

ssh-tun-policy-check

Enable/disable SSH tunnel policy check.

option

-

disable

Option

Description

disable

Disable SSH tunnel policy check.

enable

Enable SSH tunnel policy check.

ssh-algorithm

Relative strength of encryption algorithms accepted during negotiation.

option

-

compatible

Option

Description

compatible

Allow a broader set of encryption algorithms for best compatibility.

high-encryption

Allow only AES-CTR, AES-GCM ciphers and high encryption algorithms.

config dot

Parameter

Description

Type

Size

Default

status

Configure protocol inspection status.

option

-

disable

Option

Description

disable

Disable.

deep-inspection

Full SSL inspection.

proxy-after-tcp-handshake

Proxy traffic after the TCP 3-way handshake has been established (not before).

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

client-certificate

Action based on received client certificate.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

unsupported-ssl-version

Action based on the SSL version used being unsupported.

option

-

block

Option

Description

allow

Bypass the session when the version is not supported.

block

Block the session when the version is not supported.

unsupported-ssl-cipher

Action based on the SSL cipher used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the cipher is not supported.

block

Block the session when the cipher is not supported.

unsupported-ssl-negotiation

Action based on the SSL negotiation used being unsupported.

option

-

allow

Option

Description

allow

Bypass the session when the negotiation is not supported.

block

Block the session when the negotiation is not supported.

expired-server-cert

Action based on server certificate is expired.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

revoked-server-cert

Action based on server certificate is revoked.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

untrusted-server-cert

Action based on server certificate is not issued by a trusted CA.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-timeout

Action based on certificate validation timeout.

option

-

allow

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

cert-validation-failure

Action based on certificate validation failure.

option

-

block

Option

Description

allow

Allow the server certificate.

block

Block the session.

ignore

Re-sign the server certificate as trusted.

sni-server-cert-check

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

option

-

enable

Option

Description

enable

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, use the CN in the server certificate to do URL filtering.

strict

Check the SNI in the client hello message with the CN or SAN fields in the returned server certificate. If mismatched, close the connection.

disable

Do not check the SNI in the client hello message with the CN or SAN fields in the returned server certificate.

config ssl-client-certificate

Parameter

Description

Type

Size

Default

status

Configure SSL client certificate status.

option

-

do-not-offer

Option

Description

do-not-offer

Do not offer SSL client certificate.

keyring-list

For authenticated users, offer matching SSL client certificate from keyring list.

ca-sign

For authenticated users, offer SSL client certificate signed by configured CA.

keyring-list

Keyring list used to find client certificate.

string

Maximum length: 35

caname

CA certificate used to sign client certificate.

string

Maximum length: 35

Fortinet_CA_SSL

config ssl-exempt

Parameter

Description

Type

Size

Default

id

ID number.

integer

Minimum value: 0 Maximum value: 512

0

type

Type of address object (IPv4 or IPv6) or FortiGuard category.

option

-

fortiguard-category

Option

Description

fortiguard-category

FortiGuard category.

address

Firewall IPv4 address.

address6

Firewall IPv6 address.

wildcard-fqdn

Fully Qualified Domain Name with wildcard characters.

regex

Regular expression FQDN.

finger-print

TLS finger print.

fortiguard-category

FortiGuard category ID.

integer

Minimum value: 0 Maximum value: 255

0

address

IPv4 address object.

string

Maximum length: 79

address6

IPv6 address object.

string

Maximum length: 79

wildcard-fqdn

Exempt servers by wildcard FQDN.

string

Maximum length: 79

regex

Exempt servers by regular expression.

string

Maximum length: 255

finger-print-category

Finger print platform.

option

-

android

Option

Description

unknown

Unknown clients.

firefox

Firefox.

chrome

Chrome.

safari

Safari.

edge

Edge.

ie

Internet Explorer.

android

Android applications.

ios

iOS applications.

windows

Windows applications.

config ssl-server

Parameter

Description

Type

Size

Default

id

SSL server ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip

IPv4 address of the SSL server.

ipv4-address-any

Not Specified

0.0.0.0

https-client-certificate

Action based on received client certificate during the HTTPS handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

smtps-client-certificate

Action based on received client certificate during the SMTPS handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

pop3s-client-certificate

Action based on received client certificate during the POP3S handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

imaps-client-certificate

Action based on received client certificate during the IMAPS handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

ftps-client-certificate

Action based on received client certificate during the FTPS handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.

ssl-other-client-certificate

Action based on received client certificate during an SSL protocol handshake.

option

-

bypass

Option

Description

bypass

Bypass the session.

inspect

Inspect the session.

block

Block the session.