| 1 | /testing/guestbin/swan-prepscip-shell filesystem . . `/testing/guestbin/swan-prep`. --x509 |
| 2 | |
| 3 | ipsec certutil -D -n west |
| 4 | |
| 5 | ipsec certutil -m 2 -S -k rsa -c east -n west-notyetvalid -s CN=west-notyetvalid -w 1 -v 12 -t u,u,u -z east.conf |
| 6 | ipsec pk12util -W secret -o OUTPUT/west-notyetvalid.p12 -n west-notyetvalid |
| 7 | ipsec certutil -L -n west-notyetvalid -a > OUTPUT/west-notyetvalid.crt |
| 8 | ipsec certutil -F -n west-notyetvalid |
| 9 | |
| 10 | ! ipsec vfychain -v -u 12 -p -p -p -a OUTPUT/west-notyetvalid.crt |
| 11 | |
| 12 | ipsec start |
| 13 | ../../guestbin/wait-until-pluto-started |
| 14 | ipsec auto --add nss-cert |
| 15 | echoscip-shell system . . echo. "initdone" |