You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, open and closed, and I'm convinced that mine is new.
The title contains the plugin to which this issue belongs
Describe the bug
When a certificate challenge is passed, the certificate/key/chain/etc. are stored in /var/etc/acme-client/cert-home/(certificate ID)/(SAN)/, and the host's certificate and key files begin with the SAN. The import command attempts to find them in /var/etc/acme-client/cert-home/(certificate ID)/ with filenames that don't contain the SAN, which fails.
This functionality worked without issue in the 24.7 series.
To Reproduce
Steps to reproduce the behavior:
Go to the "Certificates" pane in the ACME Client menu.
Click the issue/renew button.
Check the "ACME Log" tab of the "Log Files" pane for the output paths; observe that they are as described above.
Check the "System Log" tab; observe that there is a file not found message for cert.pem in the wrong directory as described.
Expected behavior
The import command imports the certificate from the correct directory, and import is therefore successful.
Screenshots
If applicable, add screenshots to help explain your problem.
2025-02-14T09:42:08 acme.sh [Fri Feb 14 09:42:08 UTC 2025] And the full-chain cert is in: /var/etc/acme-client/cert-home/[cert ID]/[SAN]/fullchain.cer
2025-02-14T09:42:08 acme.sh [Fri Feb 14 09:42:08 UTC 2025] The intermediate CA cert is in: /var/etc/acme-client/cert-home/[cert ID]/[SAN]/ca.cer
2025-02-14T09:42:08 acme.sh [Fri Feb 14 09:42:08 UTC 2025] Your cert key is in: /var/etc/acme-client/cert-home/[cert ID]/[SAN]/[SAN].key
2025-02-14T09:42:08 acme.sh [Fri Feb 14 09:42:08 UTC 2025] Your cert is in: /var/etc/acme-client/cert-home/[cert ID]/[SAN]/[SAN].cer
2025-02-14T09:42:08 acme.sh [Fri Feb 14 09:42:08 UTC 2025] Cert success.
2025-02-14T09:42:08 acme.sh [Fri Feb 14 09:42:08 UTC 2025] Le_LinkCert='https://acme-v02.api.letsencrypt.org/acme/cert/[cert serial]/'
Additional context
Add any other context about the problem here.
Environment
Software version used and hardware type if relevant.
e.g.:
I'm on the 24.7.12 version and I'm having the same issue on the automation.
Software versions I have:
OPNSense 24.7.12
os-acme-client 4.7
acme.sh 3.1.0
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
When a certificate challenge is passed, the certificate/key/chain/etc. are stored in
/var/etc/acme-client/cert-home/
(certificate ID)/
(SAN)/
, and the host's certificate and key files begin with the SAN. The import command attempts to find them in/var/etc/acme-client/cert-home/
(certificate ID)/
with filenames that don't contain the SAN, which fails.This functionality worked without issue in the 24.7 series.
To Reproduce
Steps to reproduce the behavior:
cert.pem
in the wrong directory as described.Expected behavior
The import command imports the certificate from the correct directory, and import is therefore successful.
Screenshots
If applicable, add screenshots to help explain your problem.
Relevant log files
System Log:
ACME Log:
Additional context
Add any other context about the problem here.
Environment
Software version used and hardware type if relevant.
e.g.:
OPNsense 25.1.1 (amd64).
os-acme-client 4.8
acme.sh 3.1.0
The text was updated successfully, but these errors were encountered: