FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
dwickramasinghe1
Article Id 392417
Description This article describes how to troubleshoot a FortiAuthenticator ZTNA certificate error on FortiGate.
Scope FortiAuthenticator, FortiGate.
Solution

FortiAuthenticator v6.4.4 introduced a Zero Trust Tunnel Feature, which is used to securely connect with an on-prem Active Directory Server(LDAP).

 

Zero trust tunnels FortiAuthenticator v6.4.4

This article assumes that the initial setup for this feature has been completed:
Setting up a zero trust tunnel

If the ZTNA tunnel is failing on the FortiGate, check the ZTNA traffic logs on FortiGate: Log & Report -> ZTNA Traffic.

FACZTNADenied.jpg
In the screenshot above, the error 'Traffic denied because cert auth failed' shows up.

To resolve this issue, ensure the ZTNA CA certificate has already been uploaded onto the FortiGate:

CACertificate.jpg
If the CA certificate does not exist, import it and make sure to take note of the name after importing the CA certificate. In the screenshot above, the name is 'CA_Cert_2'.


The FortiGate will need to use the CA certificate in order to trust the FortiAuthenticator certificate for the ZTNA tunnel.

After confirming the CA certificate, configure the following option through the FortiGate CLI:

 

config authentication setting
    set user-cert-ca <name of CA certificate>
end


userauthentication.png
Note: 

The authentication rule and scheme settings should also be configured as described in the documentation below:

Configuring certificate authentication for FortiAuthenticator

After confirming the CA certificate has been selected, re-attempt the ZTNA connection and check the ZTNA traffic logs again to verify it is successful:

CertAccept.jpg
Related Articles:
Configuring certificate authentication for FortiAuthenticator
Setting up a zero trust tunnel
What's new FortiAuthenticator v6.4.4