diff -Nur e-smith-apache-2.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateChainFile e-smith-apache-2.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateChainFile --- e-smith-apache-2.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateChainFile 2008-10-07 11:53:34.000000000 -0400 +++ e-smith-apache-2.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateChainFile 2020-12-10 22:23:50.840000000 -0500 @@ -1,6 +1,6 @@ { my $chain_file = $modSSL{CertificateChainFile} or return "# modSSL{CertificateChainFile} not set"; - + return "# modSSL{CertificateChainFile} does not exist" unless -e $chain_file; $OUT = "SSLCertificateChainFile $chain_file"; } diff -Nur e-smith-apache-2.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateFile e-smith-apache-2.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateFile --- e-smith-apache-2.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateFile 2003-01-24 17:51:59.000000000 -0500 +++ e-smith-apache-2.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateFile 2020-12-10 22:22:43.409000000 -0500 @@ -1,9 +1,10 @@ { - my $crt = $modSSL{'crt'} || - "/home/e-smith/ssl.crt/${SystemName}.${DomainName}.crt"; - - my $key = $modSSL{'key'} || - "/home/e-smith/ssl.key/${SystemName}.${DomainName}.key"; + my $defaultcrt = "/home/e-smith/ssl.crt/${SystemName}.${DomainName}.crt"; + my $defaultkey = "/home/e-smith/ssl.key/${SystemName}.${DomainName}.key"; + my $crt = $modSSL{'crt'} || $defaultcrt; + $crt = $defaultcrt unless -e $crt; + my $key = $modSSL{'key'} || $defaultkey; + $key = $defaultkey unless -e $key; $OUT .= <