ACME 4.17 Certificate Renew failed ...

Started by defcon999, October 16, 2026, 11:51:50 AM

Previous topic - Next topic
October 16, 2026, 11:51:50 AM Last Edit: October 16, 2026, 08:54:07 PM by defcon999
Hello,

Renewing a certificate using ACME 4.17 fails. While the certificate is successfully created, the import into OPNsense fails.

[16-Oct-2026 11:21:39 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: implode(): If argument #1 ($separator) is of type string, argument #2 ($array) must be of type array, null given in /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php:171
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php(171): implode(',', NULL)
#1 /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php(381): OPNsense\AcmeClient\LeCertificate->import(true)
#2 /usr/local/opnsense/scripts/OPNsense/AcmeClient/lecert.php(169): OPNsense\AcmeClient\LeCertificate->issue()
#3 /usr/local/opnsense/scripts/OPNsense/AcmeClient/lecert.php(198): main()
#4 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php on line 171

Bye - Holger

Looks like issuance is fine and only the local import path is choking on missing data.

Yes. The certificate renewal went through without any issues. Everything looks fine in the ACME log. However, the new certificate is not being applied or displayed by OPNsense.