/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 #
 /testing/x509/import.sh real/mainca/road.end.cert
 ipsec certutil -A -n road -t P,, -i real/mainca/road.end.cert
 ipsec certutil -O -n road
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "road" [E=user-road@testing.libreswan.org,CN=road.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add east
"east": added oriented IKEv2 connection
east #
 ipsec whack --impair revival
east #
 ipsec whack --impair rekey_respond_subnet
east #
 echo "initdone"
initdone
east #
 # should see #2 and #3 on east
east #
 # only #2 on the road
east #
 ipsec trafficstatus
#2: "east"[1] 192.1.2.254, type=ESP, add_time=1234567890, inBytes=84, outBytes=84, maxBytes=2^63B, id='C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=road.testing.libreswan.org, E=user-road@testing.libreswan.org', lease=192.0.2.100/32
east #
 # should not find a match
east #
 grep "Notify Message Type: v2N_TS_UNACCEPTABLE" /tmp/pluto.log
east #
 # road fail to rekey and no clear log message to grep
east #
