/testing/guestbin/swan-prep --nokeys
Initializing NSS database
west #
 /testing/x509/import.sh real/mainca/west.p12
 ipsec pk12util -w nss-pw -i real/mainca/west.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
 ipsec certutil -M -n mainca -t CT,,
 ipsec certutil -O -n west
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "west" [E=user-west@testing.libreswan.org,CN=west.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec add san
"san": added oriented IKEv1 connection
west #
 echo "initdone"
initdone
west #
 ipsec up san # this should succeed # sanitize-retransmits
"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 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-east@testing.libreswan.org'
"san" #1: initial Aggressive Mode packet claiming to be from C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=NOTeast.testing.libreswan.org, E=user-east@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: STATE_AGGR_I1: 10 second timeout exceeded after 0 retransmits.  No response (or no acceptable response) to our first IKEv1 message
"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_DER_ASN1_DN (9, 0x09)
west #
