Потому, что сервер, проверяя объект не сможет связать DNS-имя из сертификата с результатом поиска его в DNS
К обсуждению выше о значении поля IDi (local) IDr (remote), жирным выделил главное. Данные ID используются только для Peer Authentication Database (PAD) lookup и не должны рассматриваться иначе или проверятся, на их соответствие во внешних системах, как то DNS.
RFC 7296 Internet Key Exchange Protocol Version 2 (IKEv2)
3.5. Identification Payloads
The Identification payloads, denoted IDi and IDr in this document, allow peers to assert an identity to one another. This identity may be used for policy lookup, but does not necessarily have to match anything in the CERT payload; both fields may be used by an implementation to perform access control decisions. When using the ID_IPV4_ADDR ID_IPV6_ADDR identity types in IDi/IDr payloads, IKEv2 does not require this address to match the address in the IP header of IKEv2 packets, or anything in the TSi/TSr payloads. The contents of IDi/IDr are used purely to fetch the policy and authentication data related to the other party.