/testing/guestbin/swan-prep --x509
Preparing X.509 files
east #
 ipsec certutil -D -n west
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 # remove CA cert
east #
 ipsec certutil -D -n "Libreswan test CA for mainca - Libreswan"
east #
 # insert a different CAcert to avoid NSS aborting for having no CA at all
east #
 ipsec pk12util -W foobar -K '' -i /testing//x509/pkcs12/badca/badeast.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
east #
 ipsec auto --add ikev2-westnet-eastnet-x509-cr
"ikev2-westnet-eastnet-x509-cr": added IKEv2 connection
east #
 echo "initdone"
initdone
east #
 hostname | grep east > /dev/null && grep -E "no Certificate Authority in NSS Certificate DB|authentication using rsasig failed" /tmp/pluto.log
"ikev2-westnet-eastnet-x509-cr" #1: no Certificate Authority in NSS Certificate DB! certificate payloads discarded
east #
 
