Skip to content

Fix CertMagic cache initialization#408

Open
d--j wants to merge 1 commit into
acme-dns:masterfrom
d--j:patch-1
Open

Fix CertMagic cache initialization#408
d--j wants to merge 1 commit into
acme-dns:masterfrom
d--j:patch-1

Conversation

@d--j
Copy link
Copy Markdown

@d--j d--j commented Feb 23, 2026

The current master returns the uninitialized CertMagic configuration in the GetConfigForCert callback function. It should return the return value of certmagic.New – only this config has the cache set.

Fixes errors like these:

error        unable to get configuration to manage certificate; unable to renew        {"identifiers": ["configured.example.com"], "error": "config returned for certificate [configured.example.com] has nil cache; expected 0xc0000bb080 (this one)"}

Fixes #337 for refactored code

…t the uninitialized config.

Fixes acme-dns#337 for refactored code
t0xicCode added a commit to MagnaXSoftware/acme-dns that referenced this pull request Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error message every 10 minutes about managing the server certificate

1 participant