Skip to content
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

SSL with DNS challenge fails due to propagation but ee thinks it renewed #1736

Open
GreenLondon opened this issue Oct 5, 2022 · 2 comments

Comments

@GreenLondon
Copy link

Due to cloudflare we are using the DNS challenge method in order to renew the letsencrypt certificate of the site.

Even though the renewal has failed due to DNS records not being propagated, easyengine thinks that the SSL certificate has been renewed causing issues later on.

Issues such as not renewing the certificate when needed so the certificate expires. Not allowing to force renew so we have to delete the site and re-upload it.

All the issues cost money because of the time spend.

`ee site ssl-renew www.example.com
Starting SSL cert renewal
Loading current certificate for www.example.com
Loading current certificate for www.example.com
Created DNS record: _acme-challenge.example.com. with value 4l5Sq1y5bUzcDcmcIPTOj6aP1zzUOQYoSjR7CT_0pmA.
Created DNS record: _acme-challenge.www.example.com. with value zGav80pE1TgvEKR94QSemDq7wFA2qz1LnutSzdBNDaE.

Waiting for DNS entry propagation.
Starting SSL verification.
Warning: The dns entries have not yet propogated. Manually check:
host -t TXT _acme-challenge.www.example.com
Before retrying ee site ssl www.example.com
Warning: Check logs and retry ee site ssl-verify www.example.com once the issue is resolved.
Starting site's services.
Success: SSL renewal completed.`

@prionkor
Copy link

prionkor commented May 8, 2023

A recent incident. Where one of my client changed dns to their sites. As ee renews all sites in a single command this broken ssl for all other sites. here is how:

  1. ee starts renewing one after another.
  2. if dns is changed at any moment. le just times out and thorws error. This exists the renew process. leaving all others sites below un-renewed.
  3. this keeps happening and eventually ssl for all sites below is expired and sites broken.

This needs to be fixed. Possible solution: Check DNS before renew.

1 similar comment
@prionkor
Copy link

prionkor commented May 8, 2023

A recent incident. Where one of my client changed dns to their sites. As ee renews all sites in a single command this broken ssl for all other sites. here is how:

  1. ee starts renewing one after another.
  2. if dns is changed at any moment. le just times out and thorws error. This exists the renew process. leaving all others sites below un-renewed.
  3. this keeps happening and eventually ssl for all sites below is expired and sites broken.

This needs to be fixed. Possible solution: Check DNS before renew.

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

No branches or pull requests

2 participants