testing/pluto/interop-ikev2-strongswan-45-initiator-ecdsa-384/westinit.sh
raw| 1 | /testing/guestbin/swan-prep --userland strongswan |
| 2 | |
| 3 | cp /testing/x509/real/mainec/root.cert /etc/strongswan/ipsec.d/cacerts/mainec.crt |
| 4 | cp /testing/x509/real/mainec/`hostname`.end.cert /etc/strongswan/ipsec.d/certs/`hostname`.crt |
| 5 | cp /testing/x509/real/mainec/`hostname`.end.key /etc/strongswan/ipsec.d/private/`hostname`.key |
| 6 | chmod 600 /etc/strongswan/ipsec.d/*/* |
| 7 | |
| 8 | ../../guestbin/strongswan-start.sh |
| 9 | echo "initdone" |