/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
west #
 /testing/x509/import.sh real/mainca/west-nosan.p12
 ipsec pk12util -w nss-pw -i real/mainca/west-nosan.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
 ipsec certutil -M -n mainca -t CT,,
 ipsec certutil -O -n west-nosan
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "west-nosan" [E=user-west-nosan@testing.libreswan.org,CN=west-nosan.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add ikev2-westnet-eastnet-x509-cr
"ikev2-westnet-eastnet-x509-cr": added IKEv1 connection
west #
 ipsec status | grep idtype
"ikev2-westnet-eastnet-x509-cr":   our idtype: IPV4_ADDR; our id=192.1.2.45; their idtype: IPV4_ADDR; their id=192.1.2.23
west #
 ipsec whack --impair suppress_retransmits
west #
 echo "initdone"
initdone
west #
 # should fail
west #
 ipsec auto --up ikev2-westnet-eastnet-x509-cr
"ikev2-westnet-eastnet-x509-cr" #1: initiating IKEv1 Main Mode connection
"ikev2-westnet-eastnet-x509-cr" #1: sent Main Mode request
"ikev2-westnet-eastnet-x509-cr" #1: sent Main Mode I2
"ikev2-westnet-eastnet-x509-cr" #1: I am sending my cert
"ikev2-westnet-eastnet-x509-cr" #1: I am sending a certificate request
"ikev2-westnet-eastnet-x509-cr" #1: sent Main Mode I3
"ikev2-westnet-eastnet-x509-cr" #1: ignoring secured informational payload INVALID_ID_INFORMATION, msgid=MSGID, length=12
"ikev2-westnet-eastnet-x509-cr" #1: STATE_MAIN_I3: 60 second timeout exceeded after 0 retransmits.  Possible authentication failure: no acceptable response to our first encrypted message
"ikev2-westnet-eastnet-x509-cr" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"ikev2-westnet-eastnet-x509-cr" #1: deleting ISAKMP SA (MAIN_I3) and NOT sending notification
west #
 echo "done"
done
west #
