/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 IKEv1 connection west # echo "initdone" initdone west # ipsec whack --impair timeout_on_retransmit west # # this should succeed west # ipsec auto --up san "san" #1: initiating IKEv1 Main Mode connection "san" #1: sent Main Mode request "san" #1: sent Main Mode I2 "san" #1: I am sending my cert "san" #1: I am sending a certificate request "san" #1: sent Main Mode I3 "san" #1: Peer ID is ID_DER_ASN1_DN: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' "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: sending encrypted notification INVALID_ID_INFORMATION to 192.1.2.23:500 "san" #1: IMPAIR: retransmit so timing out SA (may retry) "san" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds "san" #1: deleting ISAKMP SA (MAIN_I3) and NOT sending notification west # echo "done" done west # # confirm the right ID types were sent/received west # grep "ID type" /tmp/pluto.log | sort | uniq | ID type: ID_DER_ASN1_DN (0x9) west #