mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/acme-client: style sweep
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
/**
|
||||
|
||||
@@ -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"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user