"illegal (non-DNS-name) character in name" error when starting openswan
Issue
When starting an IPsec tunnel with Openswan, the following errors occur:
Apr 2 14:07:03 hostname ipsec__plutorun: 003 ERROR "/etc/ipsec.d/conn.secrets" line 1: index "10.10.1.1:PSK" syntax error in IPv6 numeric address
Apr 2 14:07:03 hostname ipsec__plutorun: 003 ERROR "/etc/ipsec.d/conn.secrets" line 1: index "msK!2*34f28+l" illegal (non-DNS-name) character in name
Apr 2 14:07:03 hostname ipsec__plutorun: 003 "/etc/ipsec.d/conn.secrets" line 1: unexpected end of id list
Environment
Red Hat Enterprise Linux 6
openswan-2.6.32*
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
