/testing/guestbin/swan-prep --nokeys
Initializing NSS database
east #
 /testing/x509/import.sh real/mainca/east.p12
 ipsec pk12util -w nss-pw -i real/mainca/east.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
 ipsec certutil -M -n mainca -t CT,,
 ipsec certutil -O -n east
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "east" [E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec add san
"san": added oriented IKEv1 connection
east #
 echo "initdone"
initdone
east #
 # confirm the correct ID type was received by EAST; unfortunately
east #
 # IKEv1 doesn't log the ID type being sent.
east #
 grep '^[^|].*USER_FQDN' /tmp/pluto.log
"san" #1: Peer ID is USER_FQDN: 'user-west@testing.libreswan.org'
"san" #1: X509: authentication failed; peer certificate subjectAltName extension does not match USER_FQDN 'user-west@testing.libreswan.org'
east #
