Technical Tip: ZTNA connect fails when FortiGate uses TLS 1.3 only
Description
This article describes a scenario where, when FortiClient (7.4.x) establishes a ZTNA connection to a FortiGate which allows only TLS 1.3, the connection fails.
config firewall vip
edit "ZTNA-VIP"
set type access-proxy
set server-type https
set extip x.x.x.x
set extintf "<wan>"
set extport 443
set ssl-certificate "<internal server certificate>"
set client-cert enable
set empty-cert-action block
set ssl-min-version tls-1.3 <== Minimum allowed TLS version
set ssl-max-version tls-1.3
next
end
The packet captures below clearly show that the FortiGate refuses the connection since no compatible TLS version was offered by FortiClient:
CLIENT -> VIP:443 SYN
VIP:443 -> CLIENT_A SYN/ACK
CLIENT -> VIP:443 ACK
CLIENT -> VIP:443 PSH <-- TLS ClientHello
VIP:443 -> CLIENT_A ACK
VIP:443 -> CLIENT_A FIN <-- no ServerHello sent
CLIENT -> VIP:443 FIN
FortiClient offered the TLS version:
Cipher suites (16) - TLS 1.2 ONLY
0xc02b ECDHE-ECDSA-AES128-GCM-SHA256
0xc02f ECDHE-RSA-AES128-GCM-SHA256
0xc02c ECDHE-ECDSA-AES256-GCM-SHA384
0xc030 ECDHE-RSA-AES256-GCM-SHA384
0xcca9 ECDHE-ECDSA-CHACHA20-POLY1305
0xcca8 ECDHE-RSA-CHACHA20-POLY1305
0xc009 ECDHE-ECDSA-AES128-SHA
0xc013 ECDHE-RSA-AES128-SHA
0xc00a ECDHE-ECDSA-AES256-SHA
0xc014 ECDHE-RSA-AES256-SHA
0x009c AES128-GCM-SHA256
0x009d AES256-GCM-SHA384
0x002f AES128-SHA
0x0035 AES256-SHA
0xc012 ECDHE-RSA-DES-CBC3-SHA
0x000a DES-CBC3-SHA
-> No TLS 1.3 suite (0x1301, 0x1302, 0x1303 absent)
Scope
FortiClient with ZTNA.
Solution
FortiClient does not support TLS 1.3 at the moment of writing this article. Support is expected to be provided in version 8.0.2 or later. As a workaround, enable TLS 1.2 as a minimum version supported in FortiGate.
Refer to the article below for more details on how to change the ZTNA compatible TLS versions:
Technical Tip: How to change the TLS version used in ZTNA HTTPS publications
