mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Merge pull request #2127 from fraenki/acme_201a
security/acme-client: fix certificate chain when CA changes
This commit is contained in:
@@ -15,6 +15,7 @@ Added:
|
||||
|
||||
Fixed:
|
||||
* fix creation of nsupdate secrets file
|
||||
* fix certificate chain when existing cert was signed by a new CA (#2126)
|
||||
|
||||
2.0
|
||||
|
||||
|
||||
+2
@@ -262,6 +262,8 @@ class LeCertificate extends LeCommon
|
||||
$cfgCert->crt = $cert['crt'];
|
||||
$cfgCert->prv = $cert['prv'];
|
||||
$cfgCert->descr = $cert['descr'];
|
||||
// Update CA ref, because it may be signed by a different CA.
|
||||
$cfgCert->caref = $cert['caref'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user