Hello, We have virtual Fortigate Deployed in VMWARE, We are trying to configure Dial-up VPN with cert authentication, but we get "XAUTH authentication failed" error, also in debug we see "fnbamd_cert_auth_copy_cert_status-Leaf cert status is unchecked"
What it can be and how fix?
I don't see any users/groups shown in that snippet, so presumably that is not enough.
Thanks @pminarik When I selected group in policy I can connect. But when I select wrong certificate I can connect anyway...
Is user peer configuration correct?
config user peer
edit "ldap-peer"
set mandatory-ca-verify enable
set ca "CA_Cert_2"
set subject ''
set cn ''
set cn-type string
set ldap-server "DC01"
set ldap-mode principal-name
set ocsp-override-server ''
set two-factor disable
Alright, so the XAUTH error shown initially was expected. :)
You must have some user/group included in either the firewall policies, or in phase1 config, as noted.
For the certificate: Can you define what precisely you mean by "wrong certificate"?
As it is configured now, the only check is:
- issued by CA "CA_Cert_2"
- the username included in the certificate exists in AD and is not a disabled user
- + usual checks (not expired, etc.)
No other restrictions are configured.
Created on 11-26-2024 07:10 AM Edited on 11-26-2024 07:11 AM
Thanks for your reply @pminarik
Self-Signed certificate was selected as source, which was not signed by CA_Cert_2, but client could connect
Created on 11-26-2024 08:46 AM Edited on 11-26-2024 08:47 AM
If true, that would suggest a bug. In that case my recommendation is to open a support ticket with TAC to get things double-checked, and fixed if confirmed as not working as expected.
(you can also share the ike + fnbamd outputs (similar as before)of the test with a self-signed cert here if you'd like a preliminary check :) )
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1737 | |
1108 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.