summaryrefslogtreecommitdiff
path: root/debug/leap-bootstrap-ca.sh
blob: ef965342eac0a556d7861a4f131b904bac8e2d25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh -x

ROOT="/tmp/platform-testing"

rm -rf $ROOT/example
mkdir -p $ROOT/example
cd  $ROOT/example

leap --yes 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