From 28e7e099090e7f04de381d17b2dd9b8a495537b9 Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Thu, 21 Sep 2023 20:22:50 +0100 Subject: [PATCH] Corrected array variable --- xmpp-wizard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp-wizard.sh b/xmpp-wizard.sh index 70385d4..891c12b 100644 --- a/xmpp-wizard.sh +++ b/xmpp-wizard.sh @@ -60,7 +60,7 @@ echo "Creating ejabberd TLS cert files..." # we have to create special TLS # certs just for ejabberd because # it's a special snowflake who # reads the guardian -for vhost in ${certdirs[@]}; do # for each vhost +for vhost in ${domains[@]}; do # for each vhost # concatenate the private key and fullchain into one file cat ${certdirs[$index]}/privkey.pem ${certdirs[$index]}/fullchain.pem > ${ejabberdtlsdir}/${vhost}.pem # update file perms