Implement net2net-initiator integration test
[strongswan.git] / testing / tests / tkm / net2net-initiator / pretest.dat
1 moon::rm /etc/ipsec.secrets
2 moon::tkm_cfgtool -c /etc/tkm/tkm.conf -i /etc/ipsec.conf -t /etc/tkm/tkm.bin -s /usr/local/share/tkm/tkmconfig.xsd
3 moon::cat /etc/ipsec.conf
4 moon::tkm_keymanager -c /etc/tkm/tkm.bin -k /etc/tkm/moonKey.der -r /etc/tkm/strongswanCert.der >/tmp/tkm.log 2>&1 &
5 moon::expect-file /tmp/tkm.rpc.ike
6 moon::DAEMON_NAME=charon-tkm ipsec start
7 sun::ipsec start
8 sun::expect-connection net-net
9 moon::DAEMON_NAME=charon-tkm expect-connection conn1
10 moon::DAEMON_NAME=charon-tkm ipsec up conn1