/testing/guestbin/swan-prep --nokeys
Initializing NSS database
east #
 /testing/x509/import.sh real/mainca/east.p12
 ipsec pk12util -w nss-pw -i real/mainca/east.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
 ipsec certutil -M -n mainca -t CT,,
 ipsec certutil -O -n east
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "east" [E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
east #
 # test config for syntax errors
east #
 ipsec addconn --checkconfig --config /etc/ipsec.conf
east #
 # start for test
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 # test secrets reading for early warning of syntax errors
east #
 ipsec secrets
loading secrets from "/etc/ipsec.secrets"
east #
 /testing/guestbin/sshd.sh start
east #
 # ready for System Role to drop file(s) into /etc/ipsec.d/
east #
 echo "initdone"
initdone
east #
 # New files should have dropped in, and we are ready to restart
east #
 ipsec restart
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec connectionstatus 192.1.2
no connection or alias named "192.1.2"
east #
 echo done
done
east #
 ipsec stop
Redirecting to: [initsystem]
east #
 #rm -f /etc/ipsec.d/*.*
east #
 #umount /etc/ipsec.d
east #
 test -f /var/run/pluto/sshd.pid && kill -9 `cat /var/run/pluto/sshd.pid` >/dev/null
east #
