fix missing existence check on TLS params

This commit is contained in:
Asif Bacchus 2019-11-18 05:20:04 -07:00
parent d7f24405e1
commit f301f9bbf0
1 changed files with 3 additions and 3 deletions

View File

@ -96,9 +96,9 @@ if [ "$TLS13_ONLY" ]; then
fi
# check for certs if using SSL
checkExist 'file' "$SSL_CERT"
checkExist 'file' "$SSL_KEY"
checkExist 'file' "$SSL_CHAIN"
if [ "$SSL_CERT" ]; then checkExist 'file' "$SSL_CERT"; fi
if [ "$SSL_KEY" ]; then checkExist 'file' "$SSL_KEY"; fi
if [ "$SSL_CHAIN" ]; then checkExist 'file' "$SSL_CHAIN"; fi
# check for DHparam if using TLS1.2
if [ "$TLS13_ONLY" = 'FALSE' ]; then