mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 12:55:48 +03:00
[GH-ISSUE #249] To avoid LE rate limits the /root/api-certs directory should be mounted as a volume #125
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#125
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?
Originally created by @fqqdk on GitHub (Dec 6, 2020).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/249
I found out during experimentation (lots of restarts, new container creation, etc) that the certificates that acme-dns retrieves for its own API endpoint should be reused, so letsencrypt doesn't rate limit your IP. While I know that during experimentation one should use LE staging api (which is one way to avoid rate limits), it seems that one can benefit from persisting the certificates even in a production setup.
I propose that the documentation reflect this and make it explicit that the /root/api-certs directory is to be mounted as a volume.
@nogaff commented on GitHub (Jun 28, 2021):
I've just run into this issue myself.
I was attempting to migrate my acme-dns deployment from a full VM to a Docker container and I had everything working great, but then I was tweaking some settings and restarted my container a few times, only to find that it had hit Let's Encrypt's duplicate certificate limit of 5 requests per week and the container was now stopping itself because Let's Encrypt wouldn't issue a 6th certificate.
I tried adding a volume for /root/api-certs and copying that directory from my original VM, but the container just ignores it and keeps requesting a new certificate on startup, then stops again due to the rate limit.
I seemingly have no choice but to wait a whole week until the rate limit resets...