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

acme.sh does not apply --dnssleep option #5108

Open
DmSilkin opened this issue Apr 23, 2024 · 1 comment
Open

acme.sh does not apply --dnssleep option #5108

DmSilkin opened this issue Apr 23, 2024 · 1 comment

Comments

@DmSilkin
Copy link

Steps to reproduce

I want to renew my cert using dns_cf.
It seems to me that option --dnssleep or setting env Le_DNSSleep do not work:
Le_DNSSleep=60 CF_Token=<token> ./acme.sh --home "/home/ubuntu/.acme.sh" --renew -d domain.com -d "*.domain.com" --dns dns_cf --server letsencrypt --dnssleep 180 --force

Script sleeps 5 sec by default and i cant change it.
As a result my cert cant be renewed.

Debug log

[Tue Apr 23 14:20:14 UTC 2024] Renew: 'domain.com'
[Tue Apr 23 14:20:14 UTC 2024] Renew to Le_API=https://acme-v02.api.letsencrypt.org/directory
[Tue Apr 23 14:20:14 UTC 2024] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Tue Apr 23 14:20:14 UTC 2024] Multi domain='DNS:domain.com,DNS:*.domain.com'
[Tue Apr 23 14:20:16 UTC 2024] Getting webroot for domain='domain.com'
[Tue Apr 23 14:20:17 UTC 2024] Getting webroot for domain='*.domain.com'
[Tue Apr 23 14:20:17 UTC 2024] Adding txt value: PahiET2j1KuYMPaJgITr4JhrAyTlFe8QysmjUFqSXyI for domain:  _acme-challenge.domain.com
[Tue Apr 23 14:20:19 UTC 2024] Adding record
[Tue Apr 23 14:20:20 UTC 2024] Added, OK
[Tue Apr 23 14:20:20 UTC 2024] The txt record is added: Success.
[Tue Apr 23 14:20:20 UTC 2024] Sleep 5 seconds for the txt records to take effect
[Tue Apr 23 14:20:26 UTC 2024] Verifying: domain.com
[Tue Apr 23 14:20:26 UTC 2024] Pending, The CA is processing your order, please just wait. (1/30)
[Tue Apr 23 14:20:30 UTC 2024] Invalid status, domain.com:Verify error detail:DNS problem: NXDOMAIN looking up TXT for _acme-challenge.domain.com - check that a DNS record exists for this domain
[Tue Apr 23 14:20:30 UTC 2024] Removing DNS records.
[Tue Apr 23 14:20:30 UTC 2024] Removing txt: PahiET2j1KuYMPaJgITr4JhrAyTlFe8QysmjUFqSXyI for domain: _acme-challenge.domain.com
[Tue Apr 23 14:20:33 UTC 2024] Removed: Success
[Tue Apr 23 14:20:33 UTC 2024] Please check log file for more details: ./log/acme.log
Copy link

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

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

1 participant