[fix] (critical) SSL Chain is not properly installed
This commit is contained in:
parent
98114805ce
commit
4be09924bc
|
@ -499,7 +499,7 @@ class m_ssl {
|
||||||
$s = str_replace("%%CRT%%", $CRTDIR . "/" . $fqdn . ".crt", $s);
|
$s = str_replace("%%CRT%%", $CRTDIR . "/" . $fqdn . ".crt", $s);
|
||||||
$s = str_replace("%%KEY%%", $CRTDIR . "/" . $fqdn . ".key", $s);
|
$s = str_replace("%%KEY%%", $CRTDIR . "/" . $fqdn . ".key", $s);
|
||||||
if (isset($cert["sslchain"]) && $cert["sslchain"]) {
|
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 {
|
} else {
|
||||||
$s = str_replace("%%CHAINLINE%%", "", $s);
|
$s = str_replace("%%CHAINLINE%%", "", $s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue