Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - defcon999

#1
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.
#2
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
#3
Moin,

ich nutze das ACME-Plugin auf meiner aktuellen OPNSense (26.7) und habe heute meine Zertifikate erneuert. Leider schlägt der automatisierte Upload zu meinem TrueNAS Scale Server fehl, egal, welche der beiden verfügbaren Protokollversionen ich benutze. Das Log zeigt immer wieder diesen Fehler:

AcmeClient: AcmeClient: The shell command returned exit code '1': '/usr/local/sbin/acme.sh --deploy --syslog 6 --log-level 1 --server 'letsencrypt' --home '/var/etc/acme-client/home' --cert-home '/var/etc/acme-client/cert-home/6a06e07112d047.66690305' --certpath '/var/etc/acme-client/certs/6a06e07112d047.66690305/cert.pem' --keypath '/var/etc/acme-client/keys/6a06e07112d047.66690305/private.key' --capath '/var/etc/acme-client/certs/6a06e07112d047.66690305/chain.pem' --fullchainpath '/var/etc/acme-client/certs/6a06e07112d047.66690305/fullchain.pem' --domain '*.meinedomain.net' --deploy-hook truenas_ws --insecure'

Meine Fähigkeiten reichen bei Weitem nicht aus, mit dieser Fehlermeldung etwas anzufangen.

Ich habe das Zertikat nun händisch auf dem Server importiert, aber das ist nun mal nicht der Zweck einer Automation ;-)

Gibt's einen Workaround dafür oder ist der Fehler bekannt?

Beste Grüße - defcon999
#4
Oh yeah, it was "tukan" ...  :-* With the default theme there is no problem! Thanks for the hint!!
#5
Hi,

updating my OPNSense yesterday to 24.7_9 .... adding an Widget to the Dashboard failed, cause the Widget-list is "behind" the List-Window (Screenshot); checking with Chrome and Edge  :o

Holger