fix typo for getting Settings of lets encrypt keysize when not using ECC

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2019-02-19 09:58:28 +01:00
parent 7d3577d649
commit 111e9bf64b

View File

@@ -267,7 +267,7 @@ class AcmeSh extends \Froxlor\Cron\FroxlorCron
if (Settings::Get('system.leecc') > 0) { if (Settings::Get('system.leecc') > 0) {
$acmesh_cmd .= " --keylength ec-" . Settings::Get('system.leecc'); $acmesh_cmd .= " --keylength ec-" . Settings::Get('system.leecc');
} else { } else {
$acmesh_cmd .= " --keylength " . Settings::Set('system.letsencryptkeysize'); $acmesh_cmd .= " --keylength " . Settings::Get('system.letsencryptkeysize');
} }
if (Settings::Get('system.letsencryptreuseold') != '1') { if (Settings::Get('system.letsencryptreuseold') != '1') {
$acmesh_cmd .= " --always-force-new-domain-key"; $acmesh_cmd .= " --always-force-new-domain-key";