[fix] (critical) SSL Chain is not properly installed

This commit is contained in:
Benjamin Sonntag 2015-02-24 20:49:20 +01:00
parent 98114805ce
commit 4be09924bc
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ class m_ssl {
$s = str_replace("%%CRT%%", $CRTDIR . "/" . $fqdn . ".crt", $s);
$s = str_replace("%%KEY%%", $CRTDIR . "/" . $fqdn . ".key", $s);
if (isset($cert["sslchain"]) && $cert["sslchain"]) {
$s = str_replace("%%CHAINLINE%%", "SSLCertificateChainFile " . $CRTDIR . "/" . $fqdn . ".crt", $s);
$s = str_replace("%%CHAINLINE%%", "SSLCertificateChainFile " . $CRTDIR . "/" . $fqdn . ".chain", $s);
} else {
$s = str_replace("%%CHAINLINE%%", "", $s);
}