security/acme-client: fix missing "--ecc" parameter, closes #2223

This commit is contained in:
Frank Wall
2021-02-08 22:52:00 +01:00
parent 8793d16eff
commit 3e72b0f5b7
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -8,6 +8,11 @@ WWW: https://github.com/acmesh-official/acme.sh
Plugin Changelog
================
2.4
Fixed:
* fix missing "--ecc" parameter when renewing ECC certs (#2223)
2.3
Added:
@@ -137,7 +137,7 @@ abstract class Base extends \OPNsense\AcmeClient\LeCommon
if ($this->cert_keylength == 'ec256' || $this->cert_keylength == 'ec384') {
if ($renew == true) {
// If it's a renew then pass --ecc to acme client to locate the correct cert directory
$acme_args[] = '--ecc';
$this->acme_args[] = '--ecc';
}
}