mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/acme-client: fix update of existing cert (regression)
This commit is contained in:
+1
-1
@@ -221,7 +221,7 @@ class LeCertificate extends LeCommon
|
||||
// Check if cert was previously imported
|
||||
if (!empty((string)$this->config->certRefId)) {
|
||||
// Check if the previously imported certificate can still be found
|
||||
foreach (Config::getInstance()->object()->ca as $cfgCert) {
|
||||
foreach (Config::getInstance()->object()->cert as $cfgCert) {
|
||||
// Check if IDs match
|
||||
if ((string)$this->config->certRefId == (string)$cfgCert->refid) {
|
||||
$cert_found = true;
|
||||
|
||||
Reference in New Issue
Block a user