Skip to content

Replace lego with ACMEz #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 27, 2020
Merged

Replace lego with ACMEz #78

merged 2 commits into from
Jul 27, 2020

Conversation

mholt
Copy link
Member

@mholt mholt commented Jul 27, 2020

It works! We dropped about 250 indirect dependencies (but unfortunately, zap adds several) and more than 550 lines of code because we no longer have to resort to hacks to compensate for the underlying API. ACMEz has a much more flexible API and sane configuration. For example, it will try all enabled challenges instead of just the first one; this means if one challenge fails, the next one will be attempted automatically instead of us having to create a new order after re-configuring the client, which also reduces hits against rate-limited endpoints. Yay!

There's still some work to do -- mostly logging and DNS providers -- but that can come soon hereafter.

I also implemented custom resolver support while I was at it.

Closes #71.

mholt added 2 commits July 27, 2020 16:32
# Conflicts:
#	acmeclient.go
#	acmemanager.go
#	go.mod
#	go.sum
@mholt mholt self-assigned this Jul 27, 2020
@mholt mholt merged commit b76b76a into master Jul 27, 2020
@mholt mholt deleted the new-acme branch July 27, 2020 22:52
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.

Replace the underlying ACME library
1 participant