/testing/guestbin/swan-prep --x509 Preparing X.509 files west # ipsec certutil -D -n east west # ipsec start Redirecting to: [initsystem] west # ../../guestbin/wait-until-pluto-started west # ipsec auto --add san "san": added IKEv2 connection west # echo "initdone" initdone west # ipsec whack --impair suppress_retransmits west # ipsec whack --impair revival west # # this should succeed west # ipsec auto --up san "san" #1: initiating IKEv2 connection to 192.1.2.23 using UDP "san" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500 "san" #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 "san" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 "san" #1: X509: authentication failed; peer ID_DER_ASN1_DN 'E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA' does not match expected 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=NOTeast.testing.libreswan.org, E=user-NOTeast@testing.libreswan.org' "san" #1: deleting IKE SA (IKE_AUTH_I) and sending notification "san" #2: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds "san" #2: IMPAIR: revival: skip scheduling revival event west # echo "done" done west # # confirm the right ID types were sent/received west # grep "ID type" /tmp/pluto.log | ID type: ID_DER_ASN1_DN (0x9) | ID type: ID_DER_ASN1_DN (0x9) | ID type: ID_DER_ASN1_DN (0x9) west # grep "RSA authentication failed" /tmp/pluto.log west #