/testing/guestbin/swan-prep --x509 --x509name notyetvalid
Preparing X.509 files
west #
 certutil -d sql:/etc/ipsec.d -D -n east
west #
 ipsec _stackmanager start
west #
 mkdir -p /var/run/pluto
west #
 # set a time in the future so notyetvalid and east certs are valid here
west #
 faketime -f +370d ipsec pluto  --config /etc/ipsec.conf
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 # if faketime works, adding conn should not give a warning about cert
west #
 ipsec auto --add nss-cert
002 added IKEv1 connection "nss-cert"
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair suppress-retransmits
west #
 ipsec auto --up nss-cert
002 "nss-cert" #1: initiating IKEv1 Main Mode connection
1v1 "nss-cert" #1: sent Main Mode request
1v1 "nss-cert" #1: sent Main Mode I2
002 "nss-cert" #1: I am sending my cert
002 "nss-cert" #1: I am sending a certificate request
1v1 "nss-cert" #1: sent Main Mode I3
003 "nss-cert" #1: ignoring informational payload INVALID_ID_INFORMATION, msgid=00000000, length=12
003 "nss-cert" #1: received and ignored notification payload: INVALID_ID_INFORMATION
031 "nss-cert" #1: STATE_MAIN_I3: 60 second timeout exceeded after 0 retransmits.  Possible authentication failure: no acceptable response to our first encrypted message
000 "nss-cert" #1: starting keying attempt 2 of an unlimited number, but releasing whack
west #
 echo done
done
west #
 # will only show up on east - note "expired" is wrong and should be "not yet valid"
west #
 grep "ERROR" /tmp/pluto.log
west #
 ../bin/check-for-core.sh
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi
west #
 
