IPSEC VPN to checkpoint with dynamic IP and certificate auth
Hello,
I'm trying to establish a VPN between a checkpoint cluster and a fortigate device.
Checkpoint only accept cert authentication with 3rd party dynamic IP gateways.
The fortigate complains about an ID mismatch, as the checkpoint sends its IP as ID. Badfully this config is global on the checkpoint, so I can't change the setting without cutting down the other tunnels.
Here is the fortigate config :
config vpn ipsec phase1-interface edit "VPN_COL_CENTRAL" set interface "wwan" set authmethod signature set peertype any set proposal aes256-sha1 set localid "fortigate4g.mydomain" set dhgrp 2 set remote-gw 1.2.3.4 set certificate "fortigate" next end
The diag debug ike shows the following :
ike 0:VPN_COL_CENTRAL:18: peer identifier IPV4_ADDR 1.2.3.4 ike 0:VPN_COL_CENTRAL:18: Validating X.509 certificate ike 0:VPN_COL_CENTRAL:18: peer cert, subject='remotegteway.mydomain', issuer='My Root CA' ike 0:VPN_COL_CENTRAL:18: peer ID does not match cert ike 0:VPN_COL_CENTRAL:18: certificate validation failed
Does anyone know how to tell the fortigate to ignore the peer ID and accept the remote certificate ?
Best regards.
Nicolas Figaro
