Skip to content

Commit

Permalink
keep the casing consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Aug 23, 2023
1 parent f5e55a0 commit f92d5e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions quickstart/docker/image/ziti-cli-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ function getZiti {

# Create a custom PKI
function createPki {
local retVal pki_allow_list pki_allow_list_ip ZITI_grandparent_INTERMEDIATE
local retVal pki_allow_list pki_allow_list_ip ZITI_GRANDPARENT_INTERMEDIATE
_check_env_variable ZITI_PKI_CTRL_ROOTCA_NAME ZITI_PKI_CTRL_EDGE_ROOTCA_NAME ZITI_PKI_SIGNER_ROOTCA_NAME \
ZITI_PKI_SIGNER_INTERMEDIATE_NAME ZITI_PKI_CTRL_INTERMEDIATE_NAME \
ZITI_PKI_CTRL_EDGE_INTERMEDIATE_NAME
Expand All @@ -734,11 +734,11 @@ function createPki {
_pki_create_ca "${ZITI_PKI_CTRL_EDGE_ROOTCA_NAME}"
_pki_create_ca "${ZITI_PKI_SIGNER_ROOTCA_NAME}"

ZITI_grandparent_INTERMEDIATE="${ZITI_PKI_SIGNER_INTERMEDIATE_NAME}_grandparent_intermediate"
ZITI_GRANDPARENT_INTERMEDIATE="${ZITI_PKI_SIGNER_INTERMEDIATE_NAME}_grandparent_intermediate"
_pki_create_intermediate "${ZITI_PKI_CTRL_ROOTCA_NAME}" "${ZITI_PKI_CTRL_INTERMEDIATE_NAME}" 1
_pki_create_intermediate "${ZITI_PKI_CTRL_EDGE_ROOTCA_NAME}" "${ZITI_PKI_CTRL_EDGE_INTERMEDIATE_NAME}" 1
_pki_create_intermediate "${ZITI_PKI_SIGNER_ROOTCA_NAME}" "${ZITI_grandparent_INTERMEDIATE}" 2
_pki_create_intermediate "${ZITI_grandparent_INTERMEDIATE}" "${ZITI_PKI_SIGNER_INTERMEDIATE_NAME}" 1
_pki_create_intermediate "${ZITI_PKI_SIGNER_ROOTCA_NAME}" "${ZITI_GRANDPARENT_INTERMEDIATE}" 2
_pki_create_intermediate "${ZITI_GRANDPARENT_INTERMEDIATE}" "${ZITI_PKI_SIGNER_INTERMEDIATE_NAME}" 1

echo " "
pki_allow_list="localhost,${ZITI_NETWORK}"
Expand Down

0 comments on commit f92d5e2

Please sign in to comment.