diff --git a/files/httpd/newvirtualhost.conf.j2 b/files/httpd/newvirtualhost.conf.j2 index 11fddcc60d..18c7a2e8ad 100644 --- a/files/httpd/newvirtualhost.conf.j2 +++ b/files/httpd/newvirtualhost.conf.j2 @@ -45,7 +45,7 @@ # when the CA certificates are directly appended to the server # certificate for convinience. #SSLCertificateChainFile /etc/pki/tls/certs/server-chain.crt - {% if sslintermediatecertfile is defined %} + {% if sslintermediatecertfile != '' %} SSLCertificateChainFile /etc/pki/tls/certs/{{ sslintermediatecertfile }} {% endif %}