SSLCertificateChainFile is deprecated. So don't warn, if actual configuration does not contain this rule.
This commit is contained in:
		| @@ -1540,15 +1540,15 @@ else | |||||||
|       #else |       #else | ||||||
|       #   echo -e "\tSSLCertificateKeyFile = $_ssl_key_file" |       #   echo -e "\tSSLCertificateKeyFile = $_ssl_key_file" | ||||||
|       fi |       fi | ||||||
|       if [ -z "$_ssl_chain_file" ]; then |       #if [ -z "$_ssl_chain_file" ]; then | ||||||
|          if [ $number_warnings -eq 0 ]; then |       #   if [ $number_warnings -eq 0 ]; then | ||||||
|             echo |       #      echo | ||||||
|          fi |       #   fi | ||||||
|          warn "No SSLCertificateChainFile found, but https is on!" |       #   warn "No SSLCertificateChainFile found, but https is on!" | ||||||
|          let number_warnings++ |       #   let number_warnings++ | ||||||
|       #else |       #else | ||||||
|       #   echo -e "\tSSLCertificateChainFile = $_ssl_chain_file" |       #   echo -e "\tSSLCertificateChainFile = $_ssl_chain_file" | ||||||
|       fi |       #fi | ||||||
|    fi |    fi | ||||||
|  |  | ||||||
|    if [ $number_warnings -eq 0 -a $number_errors -eq 0 ]; then |    if [ $number_warnings -eq 0 -a $number_errors -eq 0 ]; then | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user