Closed
Description
Description
ACME renewal fails due to certmagic trying to find the certificate in the wrong directory. Initial issuance works just fine though. Certificates located in /var/lib/gitea/https/certificates/ca.mydomain.com-acme-acme-directory/
but renewals check for the certificate in /var/lib/gitea/.local/share/certmagic/certificates/acme-v02.api.letsencrypt.org-directory/
.
certmagic prints: error while checking if stored certificate is also expiring soon
Relevant parts of my config are below:
; ACME support
PROTOCOL = https
ENABLE_ACME = true
ACME_ACCEPTTOS = true
ACME_URL = https://ca.mydomain.com/acme/acme/directory
ACME_DIRECTORY = https
ACME_EMAIL = nan@nan
Gitea Version
1.21.9
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/Jburso/5004c35ad7f4a0260a85a9044c3802f5
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Running on Alpine 3.20.3 and installed through the community v3.20 repo
Database
SQLite