/testing/guestbin/swan-prep --x509
Preparing X.509 files
east #
 ipsec certutil -D -n west
east #
 # add second identity/cert
east #
 ipsec pk12util -W foobar -K '' -i /testing/x509/pkcs12/otherca/othereast.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ../../guestbin/ipsec-add.sh main other
"main": added IKEv2 connection
"other": added IKEv2 connection
east #
 echo "initdone"
initdone
east #
 # we should see conn other being up
east #
 ipsec whack --trafficstatus
#2: "other"[1] 192.1.2.45, type=ESP, add_time=1234567890, inBytes=0, outBytes=0, maxBytes=2^63B, id='@otherwest.other.libreswan.org'
east #
 
