Closed dfleuriot closed 7 months ago
Thanks for the notification, we'll look into support.
Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.
Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least 100 days. If the Issue is still relevant to the latest version of Zappa, please open a new Issue.
ACME v2 API no longer has
acme/new-reg
andacme/new-authz
endpoints. Error 404 is being returned!Context
I followed the guide to associate a Let's Encrypt SSL certificate and validating it using DNS validation but I keep getting 404 errors when registering.
The following functions
register_account()
https://github.com/zappa/Zappa/blob/bef5c5ae9f3551a4c2e0acfcc43f4a65906e8a61/zappa/letsencrypt.py#L230-L236 andget_cert(...)
https://github.com/zappa/Zappa/blob/bef5c5ae9f3551a4c2e0acfcc43f4a65906e8a61/zappa/letsencrypt.py#L265-L271make calls to two endpoints that are no longer compatible (Reference) and are therefore returning 404 errors and the process fails.
https://acme-v02.api.letsencrypt.org/directory shows what are the endpoints and neither
new-reg
nornew-authz
are there.Expected Behavior
zappa certify
should complete without errors and successfully certify the SSL certificate.Actual Behavior
When running
zappa certify
, the following error keeps popping up:Possible Fix
Update letsencrypt.py to use the correct ACME v2 endpoints. Possibly with the updates from acme-tiny
Steps to Reproduce
run
zappa certify
Your Environment
pip freeze
: