Troubleshooting Tip: During migration from SSL VPN to IKEv2, LDAPs receive the error 'wrong credentials, eap failed'
| Description | This article describes an issue where, when configuring a new dial-up access to migrate users from SSL VPN to IPsec IKEv2 with the same LDAP authentication an error that mentions 'wrong credentials, eap failed' is observed. Despite this, the same user can connect to the SSL VPN server. |
| Scope | FortiGate. |
| Solution | Run the following debugs while the user is connecting.
diagnose debug reset
The following error appears in the debug output:
... EAP: EAP entering state RECEIVED
In this case, confirm which certificate is being used for EAP-TLS:
get system global | grep wifi
The issue might be that these certificates have expired:
These certificates are updated from FortiGuard in a certificate bundle , or part of the built-in bundle included on each firmware , newer firmware would include a newer built-in certificate bundles.
FG201F-4 # get system auto-update versions | grep -A7 "Certificate Bundle"
For offline units that cannot connect to FortiGuard, the certificate bundle can be manually updated using TFTP. The Fortinet TAC team can provide the certificate bundle package. To manually import a newer bundle, use the following command: execute vpn certificate ca import bundle <CA bundle filename with .pkg extension> <TFTP server IP>
Related articles: |
