security/acme-client: fix OCSP setting not honored, closes #2234

This commit is contained in:
Frank Wall
2021-02-15 21:57:56 +01:00
parent 988829bdd0
commit b6bbd6a32e
3 changed files with 2 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ Fixed:
* fix missing "--ecc" parameter when renewing ECC certs (#2223)
* fix log file location (#2227)
* fix GUI log formatting (by using the syslog log)
* fix OCSP setting not honored (#2234)
Changed:
* let acme.sh log through syslog
@@ -656,6 +656,7 @@ class LeCertificate extends LeCommon
$val->setNames($this->config->name, $this->config->altNames, $this->config->aliasmode, $this->config->domainalias, $this->config->challengealias);
$val->setRenewal((int)$this->config->renewInterval);
$val->setForce($this->force);
$val->setOcsp((string)$this->config->ocsp == 1 ? true : false);
// strip prefix from key value
$val->setKey(substr($this->config->keyLength, 4));
$val->prepare();