commit 020a470101f411ae2aaf368f21a79f5ea9da0b35
parent 6a6d5b763802097c96acdfc4597880baf1f31dab
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Thu, 4 Aug 2022 22:39:07 +0200
fix: VAULT_TLS_SUBJ_ALT_NAME variable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vault.sh b/vault.sh
@@ -35,7 +35,7 @@ cd /etc/vault.d/tls
useradd --system --home /etc/vault.d --shell /bin/false vault
# Specify CSR parameters for server key
-${VAULT_TLS_SUBJ_ALT_NAME:+", $VAULT_TLS_SUBJ_ALT_NAME"}
+VAULT_TLS_SUBJ_ALT_NAME=${VAULT_TLS_SUBJ_ALT_NAME:+", $VAULT_TLS_SUBJ_ALT_NAME"}
SERVER_CONFIG="
[ req ]
commonName = $HOSTNAME