testing/pluto/ikev2-x509-37-fakeeast-westecca/eastinit.sh
raw| 1 | /testing/guestbin/swan-prep --nokeys |
| 2 | |
| 3 | # import west's cert (no CA) |
| 4 | /testing/x509/import.sh real/mainca/west.end.cert |
| 5 | # import fake east cert+key (again no CA) |
| 6 | /testing/x509/import.sh fake/mainca/east.end.p12 |
| 7 | # confirm |
| 8 | ipsec certutil -L |
| 9 | |
| 10 | ipsec start |
| 11 | ../../guestbin/wait-until-pluto-started |
| 12 | ipsec auto --add ikev2-westnet-eastnet-x509-cr |
| 13 | echo "initdone" |