mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 15:28:05 +00:00
23 lines
569 B
Bash
Executable File
23 lines
569 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. ${ZITI_SCRIPTS}/env.sh
|
|
. ${ZITI_HOME}/ziti.env
|
|
|
|
"${ZITI_SCRIPTS}/create-pki.sh"
|
|
|
|
# create pki
|
|
|
|
# generates the config file for the controller
|
|
"${ZITI_SCRIPTS}/create-controller-config.sh"
|
|
|
|
# initialize the database with the admin user:
|
|
ziti-controller edge init "${ZITI_HOME}/controller.yaml" -u "${ZITI_USER}" -p "${ZITI_PWD}"
|
|
|
|
# create a place for the internal db
|
|
mkdir -p $ZITI_HOME/db
|
|
|
|
"${ZITI_SCRIPTS}/create-fabric-identity.sh"
|
|
|
|
ziti-controller run "${ZITI_HOME}/controller.yaml"
|
|
|
|
${ZITI_HOME}/pki/ziti-controller-intermediate/keys/ziti-dotzeet.key |