/testing/guestbin/swan-prep --x509 --x509name west-nosan
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 ikev2-westnet-eastnet-x509-cr
"ikev2-westnet-eastnet-x509-cr": added IKEv1 connection
west #
 ipsec status | grep idtype
"ikev2-westnet-eastnet-x509-cr":   our idtype: ID_IPV4_ADDR; our id=192.1.2.45; their idtype: ID_IPV4_ADDR; their id=192.1.2.23
west #
 #ipsec whack --impair suppress_retransmits
west #
 echo "initdone"
initdone
west #
 ipsec auto --up ikev2-westnet-eastnet-x509-cr
"ikev2-westnet-eastnet-x509-cr" #1: initiating IKEv1 Main Mode connection
"ikev2-westnet-eastnet-x509-cr" #1: sent Main Mode request
"ikev2-westnet-eastnet-x509-cr" #1: sent Main Mode I2
"ikev2-westnet-eastnet-x509-cr" #1: I am sending my cert
"ikev2-westnet-eastnet-x509-cr" #1: I am sending a certificate request
"ikev2-westnet-eastnet-x509-cr" #1: sent Main Mode I3
"ikev2-westnet-eastnet-x509-cr" #1: peer certificate contains no subjectAltName extension to match ID_IPV4_ADDR '192.1.2.23'
"ikev2-westnet-eastnet-x509-cr" #1: X509: connection allows unmatched IKE ID and certificate SAN
"ikev2-westnet-eastnet-x509-cr" #1: authenticated peer certificate '192.1.2.23' and 3nnn-bit RSA with SHA1 signature issued by 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=Libreswan test CA for mainca, E=testing@libreswan.org'
"ikev2-westnet-eastnet-x509-cr" #1: ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_256 integ=HMAC_SHA2_256 group=MODP2048}
"ikev2-westnet-eastnet-x509-cr" #2: initiating Quick Mode IKEv1+RSASIG+ENCRYPT+TUNNEL+PFS+ALLOW_NO_SAN+UP+IKE_FRAG_ALLOW+ESN_NO+ESN_YES
"ikev2-westnet-eastnet-x509-cr" #2: sent Quick Mode request
"ikev2-westnet-eastnet-x509-cr" #2: IPsec SA established tunnel mode {ESP=>0xESPESP <0xESPESP xfrm=AES_CBC_128-HMAC_SHA1_96 DPD=passive}
west #
 echo "done"
done
west #
 
