changed variable name: CAChain now CAChainPath

This commit is contained in:
Asif Bacchus 2019-01-04 23:36:31 -07:00
parent 2c4a74bc60
commit c5bb00e663
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ unset useCertbot
unset CertbotDomain
unset CertPath
unset KeyPath
unset CAChain
unset CAChainPath
unset DHPath
detectedIP=$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p')
@ -118,7 +118,7 @@ fi
if [ "${useCertbot}" -eq 1 ]; then
CertPath="/etc/letsencrypt/live/${CertbotDomain}/fullchain.pem"
KeyPath="/etc/letsencrypt/live/${CertbotDomain}/privkey.pem"
CAChain="/etc/letsencrypt/live/${CertbotDomain}/chain.pem"
CAChainPath="/etc/letsencrypt/live/${CertbotDomain}/chain.pem"
fi
# only process manual certificate paths if NOT using Certbot