summaryrefslogtreecommitdiff
path: root/testing/tests/openssl-ikev2/net2net-pkcs12/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/openssl-ikev2/net2net-pkcs12/pretest.dat')
-rw-r--r--testing/tests/openssl-ikev2/net2net-pkcs12/pretest.dat10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/tests/openssl-ikev2/net2net-pkcs12/pretest.dat b/testing/tests/openssl-ikev2/net2net-pkcs12/pretest.dat
new file mode 100644
index 000000000..3492238f0
--- /dev/null
+++ b/testing/tests/openssl-ikev2/net2net-pkcs12/pretest.dat
@@ -0,0 +1,10 @@
+moon::rm /etc/ipsec.d/private/moonKey.pem
+moon::rm /etc/ipsec.d/cacerts/strongswanCert.pem
+sun::rm /etc/ipsec.d/private/sunKey.pem
+sun::rm /etc/ipsec.d/cacerts/strongswanCert.pem
+moon::iptables-restore < /etc/iptables.rules
+sun::iptables-restore < /etc/iptables.rules
+moon::ipsec start
+sun::ipsec start
+moon::sleep 1
+moon::ipsec up net-net