[BUG] invalid config file '/var/etc/ipsec/ipsec.conf'
-
Hi
After an update to 2.2 from 2.1.5, I get the following when IPSec should start (was working in 2.1.5):
Jan 24 16:12:39 ipsec_starter[73005]: unable to start strongSwan – fatal errors in config
Jan 24 16:12:39 ipsec_starter[73005]: invalid config file '/var/etc/ipsec/ipsec.conf'
Jan 24 16:12:39 ipsec_starter[73005]: /var/etc/ipsec/ipsec.conf:19: syntax error, unexpected EQ [=]
Jan 24 16:12:39 ipsec_starter[73005]: Starting strongSwan 5.2.1 IPsec [starter]…Line 19 of ipsec.conf is:
leftid = C=CH/ST=Aargau/L=Baden/O=TechFreak/emailAddress=XXX/CN=vpn.example.comwhich is the ASN.1 DN in the VPN Phase 1 Config.
Any ideas?
Thanks
Michel -
I was able to fix this by enclosing the ASN.1 DN values with double quotes (").
I have added Bug #4275
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.