/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 fail west # ipsec auto --up san "san" #1: initiating IKEv1 Aggressive Mode connection "san" #1: I am sending a certificate request "san" #1: sent Aggressive Mode request "san" #1: Peer ID is ID_FQDN: '@NOTeast.testing.libreswan.org' "san" #1: X509: authentication failed; peer certificate subjectAltName extension does not match ID_FQDN 'NOTeast.testing.libreswan.org' "san" #1: initial Aggressive Mode packet claiming to be from @NOTeast.testing.libreswan.org on 192.1.2.23:500 but no connection has been authorized "san" #1: sending 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 (AGGR_I1) 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_FQDN (0x2) west #