/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
west #
 /testing/x509/import.sh real/mainca/revoked.p12
 ipsec pk12util -w nss-pw -i real/mainca/revoked.p12
pk12util: PKCS12 IMPORT SUCCESSFUL
 ipsec certutil -M -n mainca -t CT,,
 ipsec certutil -O -n revoked
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "revoked" [E=user-revoked@testing.libreswan.org,CN=revoked.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
west #
 /testing/x509/import.sh real/mainca/nic.end.cert
 ipsec certutil -A -n nic -t P,, -i real/mainca/nic.end.cert
 ipsec certutil -O -n nic
"mainca" [E=testing@libreswan.org,CN=Libreswan test CA for mainca,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
  "nic" [E=user-nic@testing.libreswan.org,CN=nic.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA]
west #
 /testing/x509/import.sh real/mainca/crl-is-up-to-date.crl
 ipsec crlutil -I -i real/mainca/crl-is-up-to-date.crl
west #
 ipsec certutil -L
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI
revoked                                                      u,u,u
mainca                                                       CT,, 
nic                                                          P,,  
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec whack --impair timeout_on_retransmit
west #
 ipsec add nss-cert-crl
"nss-cert-crl": added IKEv2 connection
west #
 echo "initdone"
initdone
west #
 ipsec up nss-cert-crl
"nss-cert-crl" #1: initiating IKEv2 connection to 192.1.2.23 using UDP
"nss-cert-crl" #1: sent IKE_SA_INIT request to 192.1.2.23:UDP/500
"nss-cert-crl" #1: processed IKE_SA_INIT response from 192.1.2.23:UDP/500 {cipher=AES_GCM_16_256 integ=n/a prf=HMAC_SHA2_512 group=DH19}, initiating IKE_AUTH
"nss-cert-crl" #1: sent IKE_AUTH request to 192.1.2.23:UDP/500 with digital-signature and DER_ASN1_DN 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=revoked.testing.libreswan.org, E=user-revoked@testing.libreswan.org'; Child SA #2 {ESP <0xESPESP}
"nss-cert-crl" #1: IKE SA authentication request rejected by peer: AUTHENTICATION_FAILED
"nss-cert-crl" #1: encountered fatal error in state IKE_AUTH_I
"nss-cert-crl" #2: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"nss-cert-crl" #1: deleting IKE SA (sent IKE_AUTH request)
west #
 test -r /tmp/pluto.log && grep -e '^[^|].*ERROR' /tmp/pluto.log
west #
 test -r /tmp/pluto.log && ipsec crlutil -L
CRL names                                CRL Type
mainca                                   CRL  
west #
