socket-dynamic: Use IPv6-only mode for IPv6 sockets
[strongswan.git] / testing / tests / tkm / net2net-initiator / pretest.dat
1 moon::rm /etc/swanctl/rsa/*
2 moon::tkm_cfgtool -c /etc/tkm/tkm.conf -i /etc/swanctl/swanctl.conf -t /etc/tkm/tkm.bin -s /usr/local/share/tkm/tkmconfig.xsd
3 moon::cat /etc/swanctl/swanctl.conf
4 moon::tkm_keymanager -c /etc/tkm/tkm.bin -k /etc/tkm/moonKey.der -r /etc/tkm/strongswanCert.der:1 >/tmp/tkm.log 2>&1 &
5 moon::expect-file /tmp/tkm.rpc.ike
6 moon::service charon-tkm start
7 sun::systemctl start strongswan
8 sun::expect-connection net-net
9 moon::expect-connection conn1
10 moon::swanctl --initiate --child conn1 2> /dev/null