/testing/guestbin/swan-prep --x509 --x509name ../otherca/signedbyother
Preparing X.509 files
command 'PATH/bin/certutil -M -n 'Libreswan test CA for mainca - Libreswan' -d sql:/etc/ipsec.d -t 'CT,,'' failed with status 255: certutil: could not find certificate named "Libreswan test CA for mainca - Libreswan": SEC_ERROR_...
west #
 ipsec certutil -M -n 'Libreswan test CA for otherca - Libreswan' -t 'CT,,'
west #
 ipsec certutil -D -n east
west #
 ipsec certutil -D -n east-ec
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 informational payload INVALID_ID_INFORMATION, msgid=00000000, length=12
"westnet-eastnet-x509-cr" #1: received and ignored notification payload: INVALID_ID_INFORMATION
"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 #
 
