aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tkm/multiple-clients/pretest.dat
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-03-19 15:25:38 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-19 15:25:38 +0100
commit7f0f185bedf6b67ef5dac3d74e7e4f875d95fce2 (patch)
tree3dc37f41df2b66b0c50c602b3f677cae9861b446 /testing/tests/tkm/multiple-clients/pretest.dat
parentdeafaf51f1c768ce1dbdc7ff7ac91f7fb4ea5e21 (diff)
parent7cc6fa1a983a668bd884e08f0e453637d4702cbe (diff)
downloadstrongswan-7f0f185bedf6b67ef5dac3d74e7e4f875d95fce2.tar.bz2
strongswan-7f0f185bedf6b67ef5dac3d74e7e4f875d95fce2.tar.xz
Merge branch 'tkm'
This adds charon-tkm a special build of the charon IKEv2 daemon that delegates security critical operations to a separate process (TKM = Trusted Key Manager).
Diffstat (limited to 'testing/tests/tkm/multiple-clients/pretest.dat')
-rw-r--r--testing/tests/tkm/multiple-clients/pretest.dat14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/tests/tkm/multiple-clients/pretest.dat b/testing/tests/tkm/multiple-clients/pretest.dat
new file mode 100644
index 000000000..ec83662f5
--- /dev/null
+++ b/testing/tests/tkm/multiple-clients/pretest.dat
@@ -0,0 +1,14 @@
+sun::rm /etc/ipsec.secrets
+sun::tkm_cfgtool -c /etc/tkm/tkm.conf -i /etc/ipsec.conf -t /etc/tkm/tkm.bin -s /usr/local/share/tkm/tkmconfig.xsd
+sun::cat /etc/ipsec.conf
+sun::tkm_keymanager -c /etc/tkm/tkm.bin -k /etc/tkm/sunKey.der -r /etc/tkm/strongswanCert.der >/tmp/tkm.log 2>&1 &
+sun::expect-file /tmp/tkm.rpc.ike
+sun::DAEMON_NAME=charon-tkm ipsec start
+carol::ipsec start
+carol::expect-connection host-host
+dave::ipsec start
+dave::expect-connection host-host
+sun::DAEMON_NAME=charon-tkm expect-connection conn1
+sun::DAEMON_NAME=charon-tkm expect-connection conn2
+carol::ipsec up host-host
+dave::ipsec up host-host