[Openswan dev] error white space in face of double qoutes in rightid
Siegfried Müller - MB Connect Line GmbH
mueller at mbconnectline.de
Sat May 29 03:16:53 EDT 2010
Hi,
I use Openswan Version 2.4.5 (X.509-1.5.4 PLUTO_SENDS_VENDORID PLUTO_USES_KEYRR; Vendor ID OEnMCu\177xOp at c).
I want to use the DER_ASN1_DN name from the peer in the rightid parameter like this
conn test
leftcert=owncert309771.crt
rightca=%same
keyingtries=3
leftsubnet=192.168.0.0/24
rightsubnet=192.168.2.0/24
right=92.xx.xx.xx
rightid="/C=DE/O=MY Company/CN=www.hulu.com"
auto=start
dpddelay=30
dpdtimeout=120
dpdaction=hold
After loading the connection I get the following error:
<30>Jul 1 08:07:24 ipsec__plutorun: ipsec_auto: fatal error in "test": (/etc/config/ipsec.d/../ipsec.d/ipsec_cons820138, line 9) white space within non-quoted parameter "rightid"
<30>Jul 1 08:07:24 ipsec__plutorun: ...could not add conn "test"
Does anyone know why?? There are double qoutes!
Also, if I use "()" in the name, like rightid="/C=DE/O=MY(Company)/CN=www.hulu.com", I get the following error:
<30>Jul 1 08:09:24 ipsec_setup: /bin/_confread: eval: line 1: syntax error near unexpected token `rightid="/C=DE/O=MY(C'
<30>Jul 1 08:09:24 ipsec_setup: /bin/_confread: eval: line 1: `echo "^Irightid="/C=DE/O=MY(Company)/CN=www.hulu.com" "'
How is the syntax for the parameter rightid or leftid?
thanks for all help
kind regards
Siegfried
More information about the Dev
mailing list