Troubleshooting Tip: IKEv2 remote access VPN certificate validation issue 'peer id does not match cert'
| Description | This article describes a common issue encountered during the deployment of a new IPsec IKEv2 Remote Access VPN solution, which uses certificate-based authentication for clients. The tunnel fails to establish with the error message: 'peer id does not match cert'. This article provides a step-by-step guide to resolve the issue. |
| Scope | FortiGate 7.4.5+. |
| Solution | To resolve the IKEv2 Remote Access VPN certificate validation issue, follow these steps:
To disable it, run the following command:
config vpn ipsec phase1-interface set cert-id-validation disable next end
Related articles: Technical Tip: Certificate authentication for IKEv2 VPN with RADIUS or LDAP user authentication IPsec IKEv2 VPN 2FA with EAP and certificate authentication | FortiOS Administration Guide |
