rsasig is not recognized as authentication method
[strongswan.git] / testing / tests / ikev1 / xauth-id-rsa / hosts / dave / etc / ipsec.conf
index c09fb3c..9c4d0f4 100644 (file)
@@ -1,10 +1,6 @@
 # /etc/ipsec.conf - strongSwan IPsec configuration file
 
 config setup
 # /etc/ipsec.conf - strongSwan IPsec configuration file
 
 config setup
-       plutodebug=control
-       crlcheckinterval=180
-       strictcrlpolicy=no
-       charonstart=no
 
 conn %default
        ikelifetime=60m
 
 conn %default
        ikelifetime=60m
@@ -12,15 +8,17 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev1
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev1
-       authby=xauthrsasig
 
 conn home
        left=PH_IP_DAVE
        leftcert=daveCert.pem
        leftid=dave@strongswan.org
 
 conn home
        left=PH_IP_DAVE
        leftcert=daveCert.pem
        leftid=dave@strongswan.org
+       leftauth=pubkey
+       leftauth2=xauth
        leftfirewall=yes
        right=PH_IP_MOON
        rightsubnet=10.1.0.0/16
        rightid=@moon.strongswan.org
        leftfirewall=yes
        right=PH_IP_MOON
        rightsubnet=10.1.0.0/16
        rightid=@moon.strongswan.org
+       rightauth=pubkey
        xauth_identity=dave
        auto=add
        xauth_identity=dave
        auto=add