diff options
-rwxr-xr-x | debug/leap-bootstrap-ca.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debug/leap-bootstrap-ca.sh b/debug/leap-bootstrap-ca.sh new file mode 100755 index 0000000..6fd6232 --- /dev/null +++ b/debug/leap-bootstrap-ca.sh @@ -0,0 +1,23 @@ +#!/bin/sh -x + +ROOT="/tmp/platform-testing" + +rm -rf $ROOT/example +mkdir -p $ROOT/example +cd $ROOT/example + +leap new . +cd $ROOT/leap_platform +git checkout develop +git submodule update --init +cd $ROOT/example + +leap add-user --self +leap cert ca && leap cert csr + +leap node add --local ca service:ca + +leap local start ca +leap node init ca + +leap ssh ca |