Fixed class.lescript_v2.php to work with ACMEv2

Account(kid) needs to be saved for future requests.
Install/Update part is untested.
This commit is contained in:
Markus Petermann
2018-09-18 02:20:17 +02:00
parent 5f29b2cc4a
commit 9e289a2380
4 changed files with 23 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ $certificates_stmt = Database::query("
cust.`leprivatekey`,
cust.`lepublickey`,
cust.`leregistered`,
cust.`leaccount`,
cust.`customerid`,
cust.`loginname`
FROM
@@ -109,6 +110,7 @@ if (Settings::Get('system.le_froxlor_enabled') == '1') {
'leprivatekey' => Settings::Get('system.leprivatekey'),
'lepublickey' => Settings::Get('system.lepublickey'),
'leregistered' => Settings::Get('system.leregistered'),
'leaccount' => Settings::Get('system.leaccount'),
'ssl_redirect' => Settings::Get('system.le_froxlor_redirect'),
'expirationdate' => null,
'ssl_cert_file' => null,