| Description | This article describes how to troubleshoot the error 'certificate validation before EAP failed' when connecting to dial-up IPsec VPN after switching from signature to preshare key authentication. |
| Scope | FortiGate. |
| Solution |
When switching from signature authentication to the preshare key method combined with EAP in IKEv2, VPN clients may experience connection failure with the error 'certificate validation before eap failed'. diagnose debug reset diagnose debug application ike -1 diagnose debug enable This issue can happen if the 'set eap-cert-auth enable' command was used before changing the authentication method from 'set authmethod signature” to “set authmethod psk'. When switching to PSK using the command 'set authmethod psk', the 'set eap-cert-auth enable' option becomes hidden, but it still remains active in Phase1. To avoid problems, disable 'set eap-cert-auth' before changing the authentication method to PSK. After disable 'set eap-cert-auth', try to reconnect VPN and confirm the connection. |
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 2025 Fortinet, Inc. All Rights Reserved.