/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
west #
 # here.  Invoke pluto directly so that it is the root of the shared
west #
 # faketime tree.
west #
 LD_PRELOAD=PATH/lib64/faketime/libfaketime.so.1 FAKETIME=+370d ipsec pluto  --config /etc/ipsec.conf
west #
 ../../guestbin/wait-until-pluto-started
west #
 # if faketime works, adding conn should not give a warning about cert
west #
 ipsec auto --add nss-cert
002 "nss-cert": added IKEv1 connection
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair suppress-retransmits
west #
 ipsec whack --impair revival
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 #
 
