/testing/guestbin/swan-prep --x509
Preparing X.509 files
east #
 ipsec certutil -D -n "Libreswan test CA for mainca - Libreswan"
east #
 ipsec certutil -D -n "west"
east #
 ipsec certutil -A -n west -i west-alt.crt -t P,,
east #
 ipsec certutil -L
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI
east                                                         u,u,u
road                                                         P,,  
north                                                        P,,  
hashsha1                                                     P,,  
west-ec                                                      P,,  
nic                                                          P,,  
west                                                         P,,  
east #
 ipsec start
Redirecting to: [initsystem]
east #
 ../../guestbin/wait-until-pluto-started
east #
 ipsec auto --add westnet-eastnet-x509
"westnet-eastnet-x509": added IKEv2 connection
east #
 echo "initdone"
initdone
east #
 # should confirm failure
east #
 hostname | grep east && grep "Signature check" /tmp/pluto.log
east
"westnet-eastnet-x509" #1: RSA Signature check (on C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=west.testing.libreswan.org, E=user-west@testing.libreswan.org) failed (wrong key?); tried *AwEAAbRnp
east #
 
