a question about x509cert
"yli" <[email protected]> Thu, 13 Mar 2003 17:29:14 +0800
| Newsgroups | gmane.network.freeswan.devel |
|---|---|
| Message-ID | <001801c2e943$05e52860$6f0a0a0a@yli> |
Hello,
I have attempted to build a secure channel between two hosts locating in the same local net. my ipsec.conf for two hosts are designed like following:
ipsec.conf for host (10.10.10.112)
config setup
interfaces=%defaultroute
klipsdebug=none
plutodebug=none
plutoload=%search
plutostart=%search
uniqueids=yes
conn %default
keyingtries=1
compress=yes
disablearrivalcheck=no
authby=rsasig
leftrsasigkey=%cert
rightrsasigkey=%cert
conn one-one
right=10.10.10.114
rightid="####"
# local host is left
left=10.10.10.112
leftcert=x509cert_no1.der
auto=add
pfs=yes
ipsec.conf for host (10.10.10.114)
config setup
interfaces=%defaultroute
klipsdebug=none
plutodebug=none
plutoload=%search
plutostart=%search
uniqueids=yes
conn %default
keyingtries=0
compress=yes
disablearrivalcheck=no
authby=rsasig
leftrsasigkey=%cert
rightrsasigkey=%cert
conn one-one
left=10.10.10.112
leftcert=x509cert_no1.der
right=10.10.10.114
rightcert=x509cert_no3.der
auto=add
pfs=yes
but when I executed command line with
# ipsec auto --up one-one
I also get the same error report such as
"no suitable connection for peer '#####$$'"
Please help me to find the cause of that error!
Thank you in advance!
Liying