SSLCertificateChainFile is deprecated. So don't warn, if actual configuration does not contain this rule.

This commit is contained in:
Christoph 2018-04-19 18:45:58 +02:00
parent eddf35b31e
commit afdb4bf7ff

View File

@ -1540,15 +1540,15 @@ else
#else
# echo -e "\tSSLCertificateKeyFile = $_ssl_key_file"
fi
if [ -z "$_ssl_chain_file" ]; then
if [ $number_warnings -eq 0 ]; then
echo
fi
warn "No SSLCertificateChainFile found, but https is on!"
let number_warnings++
#if [ -z "$_ssl_chain_file" ]; then
# if [ $number_warnings -eq 0 ]; then
# echo
# fi
# warn "No SSLCertificateChainFile found, but https is on!"
# let number_warnings++
#else
# echo -e "\tSSLCertificateChainFile = $_ssl_chain_file"
fi
#fi
fi
if [ $number_warnings -eq 0 -a $number_errors -eq 0 ]; then