To configure the ZTNA access to the LDAP server from FortiAuthenticator, refer to this document: Accessing an AD server with a zero trust tunnel on FortiAuthenticator. The following errors are observed on FortiAuthenticator when trying to query for group information.
Sample error 1:

As observed in the packet capture taken on the FortiGate (FGT), the TLS handshake fails with a "Certificate Unknown" alert sent from the FortiAuthenticator (FAC) end.
Sample error 2: For the ZTNA server certificate, the self-signed certificate generated on the FortiGate (FGT) was used. The corresponding Sub-CA and CA certificates were uploaded to FortiAuthenticator (FAC) to establish the certificate trust chain. However, despite importing these certificates, the same TLS handshake failure with a "Certificate Unknown" alert from the FAC end continues to occur.

Resolution: It is recommended to use either a public CA-signed certificate or a FortiAuthenticator (FAC) local CA-signed certificate as the ZTNA server certificate on the FortiGate (FGT), instead of using the self-signed certificate generated by the FGT. This ensures proper certificate chain validation and avoids TLS handshake failures due to certificate trust issues.
|