Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

needs account creation with ACMEv2 #4

Open
amedranogil opened this issue Nov 15, 2019 · 6 comments
Open

needs account creation with ACMEv2 #4

amedranogil opened this issue Nov 15, 2019 · 6 comments

Comments

@amedranogil
Copy link

Deploying a new instance today (15/11/2019) got the following error
time="2019-11-15T11:06:04Z" level=warning msg="Failed to request a new certificate" error="acme error 'unauthorized': Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details." name=<VIRTUAL_HOST>

Accesing https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 it states new accounts using ACMEv2 are in deed discontinued from november.

We have very successfully been using this component, it would be a pitty to go back to using other automatic proxy/virtualhost/tsl management.

@amedranogil
Copy link
Author

I don't know Go, but looking at the code it seems the package "github.com/ericchiang/letsencrypt" is deprecated. "golang.org/x/crypto/acme/autocert" should be used instead.
Is it just a matter of changing letsencrypt.go?

@ayufan
Copy link
Owner

ayufan commented Dec 4, 2019 via email

@amedranogil
Copy link
Author

actually lego seems to be much more simple

@amedranogil
Copy link
Author

I think 2 more environment variables are needed for the auto-proxy container:
ACCOUNT_EMAIL : required for the v2 registration
ACME_CA : to be able to change the CA backend if needed, if not set it should use the default LetsEncrypt.

Thanks for the time! if you need help testing and/or documenting, let me know!

@amedranogil
Copy link
Author

any updates on this? apparently new validations are permanently disabled with v1: https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430/7
so eventhough currently our services work new virtual hosts will not be allowed by lets encrypt.

@huan
Copy link

huan commented Aug 1, 2020

I run into this issue today and make me struggle a while.

I hope this great alpine auto proxy docker image can upgrade to support ACMEv2 soon!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants