Debian Codegraph @

testing/pluto/ikev2-x509-37-fakeeast-westnoca/east.console.txt

raw
1 /testing/guestbin/swan-prep --nokeys
2 Creating empty NSS database
3 east #
4 # import real west certificate only, rely on cert=west
5 east #
6 /testing/x509/import.sh real/mainca/west.end.cert
7 ipsec certutil -A -n west -t P,, -i real/mainca/west.end.cert
8 east #
9 # import fake east cert+key, again rely on cert=west
10 east #
11 /testing/x509/import.sh fake/mainca/east.end.p12
12 ipsec pk12util -w nss-pw -i fake/mainca/east.end.p12
13 pk12util: PKCS12 IMPORT SUCCESSFUL
14 east #
15 # confirm
16 east #
17 ipsec certutil -L
18 Certificate Nickname Trust Attributes
19 SSL,S/MIME,JAR/XPI
20 west P,,
21 east u,u,u
22 east #
23 ipsec start
24 Redirecting to: [initsystem]
25 east #
26 ../../guestbin/wait-until-pluto-started
27 east #
28 ipsec auto --add ikev2-westnet-eastnet-x509-cr
29 "ikev2-westnet-eastnet-x509-cr": added IKEv2 connection
30 east #
31 echo "initdone"
32 initdone
33 east #
34 ../../guestbin/ipsec-kernel-state.sh
35 east #
36 ../../guestbin/ipsec-kernel-policy.sh
37 east #
38