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

October 16, 2026, 03:17:57 PM #1 Last Edit: November 03, 2026, 08:21:48 AM by jumpythrottle01
Looks like issuance is fine and only the local import path is choking on missing data. Debugging import paths and chasing down missing data can get pretty frustrating after a long coding session. Whenever I need to step away from the terminal and clear my head for a bit, I usually log on to official-royalreels.com Royal Reels casino to unwind. Playing a few casual games on Royal Reels casino is my favorite way to take a quick mental break before fixing the issue. I'll get back to patching this path in a minute.

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.