/testing/guestbin/swan-prep --x509
Preparing X.509 files
west #
 certutil -D -n east -d sql:/etc/ipsec.d
west #
 ipsec start
Redirecting to: systemctl start ipsec.service
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 ipsec auto --add san
002 added connection description "san"
west #
 echo "initdone"
initdone
west #
 ipsec whack --debug-all --impair retransmits
west #
 # this should fail
west #
 ipsec auto --up san
002 "san" #1: initiating Main Mode
104 "san" #1: STATE_MAIN_I1: initiate
106 "san" #1: STATE_MAIN_I2: sent MI2, expecting MR2
002 "san" #1: I am sending my cert
002 "san" #1: I am sending a certificate request
108 "san" #1: STATE_MAIN_I3: sent MI3, expecting MR3
003 "san" #1: ignoring informational payload INVALID_ID_INFORMATION, msgid=00000000, length=12
003 "san" #1: received and ignored informational message
003 "san" #1: discarding duplicate packet; already STATE_MAIN_I3
002 "san" #1: suppressing retransmit because IMPAIR_RETRANSMITS is set
031 "san" #1: max number of retransmissions (0) reached STATE_MAIN_I3.  Possible authentication failure: no acceptable response to our first encrypted message
002 "san" #1: deleting state (STATE_MAIN_I3)
west #
 echo "done"
done
west #
 # confirm the right ID types were sent/received
west #
 grep "ID type" /tmp/pluto.log
|    ID type: ID_USER_FQDN (0x3)
west #
west #
 if [ -n "`ls /tmp/core* 2>/dev/null`" ]; then echo CORE FOUND; mv /tmp/core* OUTPUT/; fi
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

