Let's Encrypt plugin: ACME Log Always Empty
- [ X ] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- [ X ] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- [ X ] The title contains the plugin to which this issue belongs
Description
On a fresh install of 24.7, after installing the os-acme-client plugin, the "ACME Log" tab under Services -> ACME client -> Log Files is always empty. no matter what the log setting is (e.g., extended sounds like it should turn something up after renewing the cert forcibly). Seemingly relevant closed issue that claims it fixes things: https://github.com/opnsense/plugins/issues/2227 SSH'ing into OPNsense, /var/log/acme.sh.log exists, but is empty and remains so. Running the script with the command printed in the "System Log" tab prints the needed output to stdout.
To Reproduce Steps to reproduce the behavior:
- Go to System -> Firmware -> Plugins
- Click on the
+next toos-acme-clientplugin to install it - Go to Services -> ACME Client -> {Accounts,Challanges,Certificates} and configure appropriately (I use the HTTP-01 challenge)
- Force certificate renewal by pressing the issue/renew button for the configured cert
- Check under Services -> ACME Client -> Log Files and open the "ACME Log" tab, and behold the absence of logs
Expected behavior Issuing/renewing a certificate would presumably cause the acme shell script output to show up to varying degrees in this ACME Log tab.
OPNsense 24.7.3_1-amd64 FreeBSD 14.1-RELEASE-p3 OpenSSL 3.0.14 Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (4 cores, 4 threads), 16 GB DDR3 RAM, mirrored ZFS on spinning rust.