/testing/guestbin/swan-prep
west #
 # there are no keys, but spell it out
west #
 rm -f /etc/ipsec.d/*db
west #
 ipsec initnss > /dev/null 2> /dev/null
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair revival
west #
 ipsec auto --add westnet-eastnet
"westnet-eastnet": added IKEv1 connection
west #
 echo "initdone"
initdone
west #
 ipsec whack --impair suppress_retransmits
west #
 # this is expected to fail to our own misconfigured key
west #
 ipsec auto --up westnet-eastnet
"westnet-eastnet" #1: initiating IKEv1 Main Mode connection
"westnet-eastnet" #1: sent Main Mode request
"westnet-eastnet" #1: sent Main Mode I2
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: private key matching CKAID '4651cb327d8ee9c2a0f71f176c7d172f33205dc2' not found: can't find the private key matching the NSS CKAID
"westnet-eastnet" #1: unable to locate my private key for RSA Signature
"westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500
"westnet-eastnet" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet" #1: IMPAIR: revival: skip scheduling revival event
"westnet-eastnet" #1: deleting ISAKMP SA (MAIN_I2) and NOT sending notification
west #
 # we should not see any leftover states
west #
 ipsec showstates
west #
 echo done
done
west #
 
