Error 13887 - ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH
Certificate doesn't chain to a trusted root in IPsec policy.
Symptoms
- Certificate doesn't chain to a trusted root in IPsec policy.
- System error 13887 (ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH)
Troubleshooting steps
- Note the exact error 13887 (ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com