OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: MikeyMike on December 19, 2021, 02:08:21 pm

Title: ACME client problems
Post by: MikeyMike on December 19, 2021, 02:08:21 pm
Hi,

i have the following problems with ACME. I think it´s because of a second entry in the ACME Scheduling Tab (which is not possible anymore because of the new ACME client?!?). I can´t edit or delete this second job because the GUI opens automatically only the first "Renewal" schedule entry and jumps back to the main GUI Page after pressing Save or Cancel (see https://forum.opnsense.org/index.php?topic=20160.0 (https://forum.opnsense.org/index.php?topic=20160.0)). How can i solve this issue?
 
Code: [Select]
PHP Errors:

[19-Dec-2021 10:56:49 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function init() on null in /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php:608
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php(401): OPNsense\AcmeClient\LeCertificate->runAutomations()
#1 /usr/local/opnsense/scripts/OPNsense/AcmeClient/lecert.php(170): OPNsense\AcmeClient\LeCertificate->issue()
#2 /usr/local/opnsense/scripts/OPNsense/AcmeClient/lecert.php(199): main()
#3 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php on line 608
[19-Dec-2021 10:59:31 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function init() on null in /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php:608
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php(401): OPNsense\AcmeClient\LeCertificate->runAutomations()
#1 /usr/local/opnsense/scripts/OPNsense/AcmeClient/lecert.php(170): OPNsense\AcmeClient\LeCertificate->issue()
#2 /usr/local/opnsense/scripts/OPNsense/AcmeClient/lecert.php(199): main()
#3 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php on line 608
[19-Dec-2021 11:22:44 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function init() on null in /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php:608
Stack trace:
#0 /usr/local/opnsense/scripts/OPNsense/AcmeClient/lecert.php(188): OPNsense\AcmeClient\LeCertificate->runAutomations()
#1 /usr/local/opnsense/scripts/OPNsense/AcmeClient/lecert.php(199): main()
#2 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/AcmeClient/LeCertificate.php on line 608

caused by:

Code: [Select]
2021-12-19T13:09:07 api[70788] [2021-12-19T13:09:07+01:00][error] AcmeClient: HAProxy integration is complete
2021-12-19T13:04:12 api[43950] [2021-12-19T13:04:12+01:00][error] AcmeClient: HAProxy integration is complete
2021-12-19T12:02:32 opnsense[72604] AcmeClient: issue/renewal not required for certificate: yyy.de
2021-12-19T12:02:32 opnsense[72604] AcmeClient: issue/renewal not required for certificate: xxx.de
2021-12-19T12:02:32 api[67250] [2021-12-19T12:02:32+01:00][error] AcmeClient: HAProxy integration is complete
2021-12-19T11:56:47 api[67250] [2021-12-19T11:56:47+01:00][error] AcmeClient: HAProxy integration is complete
2021-12-19T11:56:46 config[22842] [2021-12-19T11:56:46+01:00][error] [OPNsense\AcmeClient\AcmeClient:settings.UpdateCron] Related cron not found.
2021-12-19T11:33:45 api[22842] [2021-12-19T11:33:45+01:00][error] AcmeClient: HAProxy integration is complete
2021-12-19T11:33:37 api[22842] [2021-12-19T11:33:37+01:00][error] AcmeClient: HAProxy integration is complete
2021-12-19T11:22:44 opnsense[7281] AcmeClient: automation not supported: restart_haproxy (7457e177-cf26-4ad0-b8c8-7f3007f42f6d)
Title: Re: ACME client problems
Post by: Fright on December 19, 2021, 07:22:22 pm
Quote
I can´t edit or delete this second job because the GUI opens automatically only the first "Renewal" schedule entry
System: Settings: Cron ?
Title: Re: ACME client problems
Post by: ikkeT on May 06, 2022, 08:24:15 am
Did you sort this out? I noticed that my certs expired, and it seems this problem is on my opnsense. Last renewal seemed to have happened around the time you created the post.