/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
west #
 /testing/x509/import.sh real/mainca/east.all.cert
missing file: real/mainca/east.all.cert
west #
 /testing/x509/import.sh real/otherca/otherwest.all.p12
ipsec pk12util -w nss-pw -i real/otherca/otherwest.all.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
ipsec certutil -M -n otherca -t CT,,
west #
 # check
west #
 ipsec certutil -L
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI
otherwest                                                    u,u,u
otherca                                                      CT,, 
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair timeout_on_retransmit
west #
 ipsec auto --add westnet-eastnet-x509-cr
"westnet-eastnet-x509-cr": added IKEv1 connection
west #
 echo "initdone"
initdone
west #
 # this should fail
west #
 ipsec auto --up westnet-eastnet-x509-cr
"westnet-eastnet-x509-cr" #1: initiating IKEv1 Main Mode connection
"westnet-eastnet-x509-cr" #1: sent Main Mode request
"westnet-eastnet-x509-cr" #1: sent Main Mode I2
"westnet-eastnet-x509-cr" #1: I am sending my cert
"westnet-eastnet-x509-cr" #1: I am sending a certificate request
"westnet-eastnet-x509-cr" #1: sent Main Mode I3
"westnet-eastnet-x509-cr" #1: ignoring secured informational payload INVALID_ID_INFORMATION, msgid=MSGID, length=12
"westnet-eastnet-x509-cr" #1: IMPAIR: retransmit so timing out SA (may retry)
"westnet-eastnet-x509-cr" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet-x509-cr" #1: deleting ISAKMP SA (MAIN_I3) and NOT sending notification
west #
 echo done
done
west #
 ../../guestbin/ipsec-kernel-state.sh
west #
 ../../guestbin/ipsec-kernel-policy.sh
west #
 
