mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 04:45:48 +03:00
[PR #351] Fix certmagic usage. Fixes https://github.com/joohoi/acme-dns/issues/337 #389
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#389
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/acme-dns/acme-dns/pull/351
Author: @maddes-b
Created: 4/11/2024
Status: 🔄 Open
Base:
master← Head:fix/certmagic-usage📝 Commits (1)
f6a24a6Fix certmagic usage. Fixes https://github.com/joohoi/acme-dns/issues/337📊 Changes
3 files changed (+98 additions, -19 deletions)
View changed files
📝
go.mod(+10 -9)📝
go.sum(+85 -0)📝
main.go(+3 -10)📄 Description
No separate certmagic cache needed. Default config and cache are sufficient to handle the certificates for the HTTP API.
Updated to certmagic v0.20.
Issue of double cache was introduced by
github.com/joohoi/acme-dns@27e8251d11(from https://github.com/joohoi/acme-dns/pull/334), when updating certmagic to v0.17, and reported in https://github.com/joohoi/acme-dns/issues/337Also maybe related to https://github.com/joohoi/acme-dns/issues/347, no cert, no update, no txt record.
Succesfully Tested (Ubuntu 22.04 LTS):
Built on Ubuntu 22.04 LTS:
GOPATH=/tmp/go-acme-dns CGO_ENABLED=1 go build(CGO_ENABLED for sqlite)Installation on Ubuntu 22.04 LTS:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.