/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
west #
 # ECDSA, peer is RSA
west #
 /testing/x509/import.sh real/mainec/`hostname`.all.p12
ipsec pk12util -w nss-pw -i real/mainec/west.all.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
ipsec certutil -M -n mainec -t CT,,
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-ikev2
"westnet-eastnet-ikev2": added IKEv2 connection
west #
 ipsec whack --impair suppress_retransmits
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair suppress_retransmits
west #
 # expected to fail
west #
 ipsec auto --up westnet-eastnet-ikev2
"westnet-eastnet-ikev2" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"westnet-eastnet-ikev2" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"westnet-eastnet-ikev2" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"westnet-eastnet-ikev2" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500
"westnet-eastnet-ikev2" #1: IKE SA authentication request rejected by peer: AUTHENTICATION_FAILED
"westnet-eastnet-ikev2" #1: encountered fatal error in state IKE_AUTH_I
"westnet-eastnet-ikev2" #2: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet-ikev2" #1: deleting IKE SA (sent IKE_AUTH request)
west #
 echo done
done
west #
 ipsec whack --shutdown
Pluto is shutting down
west #
 
