security/acme-client: style sweep

This commit is contained in:
Franco Fichtner 2025-01-08 08:08:11 +01:00
parent ed4c9a345b
commit 5816a72332
2 changed files with 3 additions and 2 deletions

View file

@ -273,7 +273,7 @@ class LeCertificate extends LeCommon
// Serialize to config and save
// Skip validation because the current in-memory model may not
// know about the CA item that was just created.
$certModel->serializeToConfig(false,true);
$certModel->serializeToConfig(false, true);
Config::getInstance()->save();
/**

View file

@ -532,7 +532,8 @@ function exportCertificates(array $cert_refids): array
$item["key"] = $_tmp["prv"];
// check if a CA is linked
if (!empty((string)$cert->caref)) {
$item["ca"] = $_tmp["ca"];;
$item['ca'] = $_tmp['ca'];
// combine files to export a fullchain.pem
$item["fullchain"] = $item["cert"] . $item["ca"];
}