diff --git a/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/SettingsController.php b/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/SettingsController.php index 5251a32f7c..4104f6bf29 100644 --- a/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/SettingsController.php +++ b/security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/Api/SettingsController.php @@ -77,7 +77,7 @@ public function fetchCronIntegrationAction() } else { // Cron job NOT found. This should not happen, try to fix // this automatically. - $this->getLogger()->error("AcmeClient: cron job with stored UUID not found in system config: ${cron_uuid}"); + $this->getLogger()->error("AcmeClient: cron job with stored UUID not found in system config: {$cron_uuid}"); // Search for existing AcmeClient cron job. foreach ((new Cron())->getNodeByReference('jobs.job')->iterateItems() as $cron) { @@ -86,7 +86,7 @@ public function fetchCronIntegrationAction() if ($_origin == 'AcmeClient') { // Found a matching AcmeClient cron job. $cron_found = 1; - $this->getLogger()->notice("AcmeClient: found existing AcmeClient cron job, fixing inconsistency in config (new UUID: ${_uuid})"); + $this->getLogger()->notice("AcmeClient: found existing AcmeClient cron job, fixing inconsistency in config (new UUID: {$_uuid})"); // Update UUID in Acme Client config. $mdlAcme->settings->UpdateCron = $_uuid; // Save updated configuration. diff --git a/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php b/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php index e45f92dedd..9c55d51342 100644 --- a/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php +++ b/security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php @@ -47,6 +47,11 @@ class LeCertificate extends LeCommon { public const CONFIG_PATH = 'certificates.certificate'; + protected $cert_file; + protected $cert_key_file; + protected $cert_chain_file; + protected $cert_fullchain_file; + /* * Create the object by collecting and storing all required data * @param $uuid string the UUID of the configuration object