/testing/guestbin/swan-prep --x509
Preparing X.509 files
west #
 certutil -D -n east -d sql:/etc/ipsec.d
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add san
002 "san": added IKEv1 connection
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair delete-on-retransmit
west #
 # this should fail
west #
 ipsec auto --up san
002 "san" #1: initiating IKEv1 Main Mode connection
1v1 "san" #1: sent Main Mode request
1v1 "san" #1: sent Main Mode I2
002 "san" #1: I am sending my cert
002 "san" #1: I am sending a certificate request
1v1 "san" #1: sent Main Mode I3
003 "san" #1: ignoring informational payload INVALID_ID_INFORMATION, msgid=00000000, length=12
003 "san" #1: received and ignored notification payload: INVALID_ID_INFORMATION
002 "san" #1: IMPAIR: retransmit so deleting SA
002 "san" #1: deleting state (STATE_MAIN_I3) and NOT sending notification
002 "san" #1: deleting IKE SA but connection is supposed to remain up; schedule EVENT_REVIVE_CONNS
west #
 echo "done"
done
west #
 # confirm the right ID types were sent/received
west #
 grep "ID type" /tmp/pluto.log | sort | uniq
|    ID type: ID_USER_FQDN (0x3)
west #
 
