acme.sh Not valid yet, let's wait 10 seconds and check next one的解决方法

By admin at 2020-07-16 20:27 • 42次点击
admin


今天使用acme.sh域名申请letsencrypt证书时出现了下面的错误

[Thu Jul 16 20:24:19 CST 2020] Let's wait 10 seconds and check again.
[Thu Jul 16 20:24:30 CST 2020] d='vpslala.com'
[Thu Jul 16 20:24:30 CST 2020] txtdomain='_acme-challenge.vpslala.com'
[Thu Jul 16 20:24:30 CST 2020] aliasDomain='_acme-challenge.vpslala.com'
[Thu Jul 16 20:24:30 CST 2020] txt='1_gy1j_vhxpIJFEj6Ln5Eyay8hpk'
[Thu Jul 16 20:24:30 CST 2020] d_api='/root/.acme.sh/dnsapi/dns_ali.sh'
[Thu Jul 16 20:24:30 CST 2020] Checking vpslala.com for _acme-challenge.vpslala.com
[Thu Jul 16 20:24:30 CST 2020] _c_txtdomain='_acme-challenge.vpslala.com'
[Thu Jul 16 20:24:30 CST 2020] _c_aliasdomain='_acme-challenge.vpslala.com'
[Thu Jul 16 20:24:30 CST 2020] _c_txt='1_gy1j_vhxtjRP6xAEj6Ln5Eyay8hpk'
[Thu Jul 16 20:24:30 CST 2020] Detect dns server first.
[Thu Jul 16 20:24:33 CST 2020] Use cloudflare doh server
[Thu Jul 16 20:24:33 CST 2020] GET
[Thu Jul 16 20:24:33 CST 2020] url='https://cloudflare-dns.com/dns-query?name=_acme-challenge.vpslala.com&type=TXT'
[Thu Jul 16 20:24:33 CST 2020] timeout=
[Thu Jul 16 20:24:33 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header  -g '
[Thu Jul 16 20:24:36 CST 2020] ret='0'
[Thu Jul 16 20:24:36 CST 2020] Not valid yet, let's wait 10 seconds and check next one.
[Thu Jul 16 20:24:36 CST 2020] _p_txtdomain='_acme-challenge.vpslala.com'
[Thu Jul 16 20:24:36 CST 2020] Cloudflare purge TXT record for domain _acme-challenge.vpslala.com
[Thu Jul 16 20:24:36 CST 2020] POST
[Thu Jul 16 20:24:36 CST 2020] _post_url='https://cloudflare-dns.com/api/v1/purge?domain=_acme-challenge.vpslala.com&type=TXT'
[Thu Jul 16 20:24:36 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header  -g '
[Thu Jul 16 20:24:37 CST 2020] _ret='0'
[Thu Jul 16 20:30:46 CST 2020] timeout=
[Thu Jul 16 20:30:46 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header  -g '
[Thu Jul 16 20:30:46 CST 2020] ret='0'
[Thu Jul 16 20:30:46 CST 2020] The txt record is added: Success.
[Thu Jul 16 20:30:46 CST 2020] Let's check each DNS record now. Sleep 20 seconds first.

其实从上面的错误信息已经可以排查到问题所在了

上面的错误信息显示申请证书一直在请求cloudflare的API服务器

因为之前域名实在cloudflare,后来转移到阿里云,所导致的

因为letsencrypt读取的域名是缓存的信息,

也就是说申请的域名在国外服务器还没有实时更新导致的

解决方法很简单,在cloudflare删除域名,等待几天在尝试即可。。。

如果频繁的申请letsencrypt证书会进入黑名单。。。



也许我的文章解决了你的问题,如果没有那很抱歉,
真诚希望您能把本站开启广告白名单,谢谢您~
联系邮箱vpslala#foxmail.com




letsencrypt, 证书, cloudflare


目前尚无回复
登录 后发表评论