"illegal (non-DNS-name) character in name" error when starting openswan

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content