[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openswan-dev
Subject:    [Openswan dev] error white space in face of double qoutes in rightid
From:       Siegfried_Müller_-_MB_Connect_Line_GmbH
Date:       2010-05-29 7:16:53
Message-ID: 7C4973E27A52DB44900D96028C07F4130CC86F () SERVER1 ! pluto ! local
[Download RAW message or body]

Hi,

I use Openswan Version 2.4.5 (X.509-1.5.4 PLUTO_SENDS_VENDORID PLUTO_USES_KEYRR; \
Vendor ID OEnMCu\177xOp@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
_______________________________________________
Dev mailing list
Dev@openswan.org
http://lists.openswan.org/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic