testing: Updated build-certs script
This commit is contained in:
committed by
Tobias Brunner
parent
cfeae14b06
commit
b213204b3b
@@ -4,5 +4,5 @@ moon::cat /var/log/daemon.log::sending end entity cert::YES
|
||||
moon::cat /var/log/daemon.log::received AUTHENTICATION_FAILED notify error::YES
|
||||
sun:: cat /var/log/daemon.log::critical 'strongSwan' extension not supported::YES
|
||||
sun:: cat /var/log/daemon.log::building CRED_CERTIFICATE - ANY failed::YES
|
||||
sun:: cat /var/log/daemon.log::loading certificate from 'sunCert.der' failed::YES
|
||||
sun:: cat /var/log/daemon.log::loading certificate from 'sunCert.pem' failed::YES
|
||||
sun:: cat /var/log/daemon.log::building CRED_CERTIFICATE - X509 failed::YES
|
||||
|
||||
@@ -10,9 +10,9 @@ conn %default
|
||||
keyexchange=ikev2
|
||||
mobike=no
|
||||
|
||||
conn net-net
|
||||
conn net-net
|
||||
left=PH_IP_MOON
|
||||
leftcert=moonCert.der
|
||||
leftcert=moonCert.pem
|
||||
[email protected]
|
||||
leftsubnet=10.1.0.0/16
|
||||
leftfirewall=yes
|
||||
|
||||
@@ -10,9 +10,9 @@ conn %default
|
||||
keyexchange=ikev2
|
||||
mobike=no
|
||||
|
||||
conn net-net
|
||||
conn net-net
|
||||
left=PH_IP_SUN
|
||||
leftcert=sunCert.der
|
||||
leftcert=sunCert.pem
|
||||
[email protected]
|
||||
leftsubnet=10.2.0.0/16
|
||||
leftfirewall=yes
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
moon::systemctl stop strongswan
|
||||
sun::systemctl stop strongswan
|
||||
moon::rm /etc/swanctl/x509/moonCert.der
|
||||
sun::rm /etc/swanctl/x509/sunCert.der
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
moon::rm /etc/swanctl/x509/moonCert.pem
|
||||
sun::rm /etc/swanctl/x509/sunCert.pem
|
||||
moon::systemctl start strongswan
|
||||
sun::systemctl start strongswan
|
||||
moon::expect-connection gw-gw
|
||||
|
||||
Reference in New Issue
Block a user