> Source: [sk42224](https://support.checkpoint.com/results/sk/sk42224)

# sk42224 - VPN tunnel establishment fails with ICA certificate

| Property | Value |
|----------|-------|
| Solution ID | sk42224 |
| Date Created | 2009-06-29 |
| Last Modified | 2020-11-04 |
| Technical Level | General |

## Symptoms

- * Customer using Internal CA.
* SmartView Tracker log messages:  

  IKE: Main Mode Sent Notification to Peer: invalid certificate  
  IKE: Main Mode Name constraints checking failed  

  vpn debug on TDERROR_ALL_ALL=5 error messages:  

  \[vpnd 1246 2002662048\]@fwhostname\[9 Feb 16:29:21\] fwValidateNameConstraints: CN=clusterobjectname VPN Certificate,O=mgmthostname..hiv6gc doesn't conform to name constraints  
  \[vpnd 1246 2002662048\]@fwhostname\[9 Feb 16:29:21\] fwCert_ValCerts: Name constraints checking failed.  
  \[vpnd 1246 2002662048\]@fwhostname\[9 Feb 16:29:21\] fwCert_ValPeerCertAndFindKey: Name constraints checking failed.  
  \[vpnd 1246 2002662048\]@fwhostname\[9 Feb 16:29:21\] Sent Notification to Peer 203c5f22: invalid certificate

## Cause

The internal_ca Trusted CA was configured with specific DNs in the 'Firewall tab \> Servers \> Trusted CAs \> Internal CAs \> Edit \> Advanced \> Allow only certificates from the listed branches'.

## Solution

Removing these branch DNs and unchecking the "Allow only certificates from the listed branches" checkbox results in the VPN site to site connections forming successfully.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
