首页 > 其他 > 详细

[Caddy2] cloudflare, acme: cleaning up failed: no memory of presenting a DNS record

时间:2020-06-13 01:44:26      阅读:87      评论:0      收藏:0      [点我收藏+]

 

使用 cloudflare 做为 DNS 之后,使用 Caddy 申请 Lets Encrypt 证书。

有时在日志里会发现一系列的提示信息:

  acme: use dns-01 solver

  acme: cleaning up failed: no memory of presenting a DNS record for

  error: one or more domains had a problem

  acme: error presenting token: got error status: HTTP 400: [{Code:6003 Message:Invalid request headers}]

 

如果 Caddyfile 和 DNS 配置一切正常的话,可能是 token 未正确指定。

注意,如果是在 Dockerfile 中进行操作,通过 ENV 设置 token 的环境变量,使用的是自己在 Cloudflare 创建的 API Token,而不是 Global API Key。

 

配置上要做的事 参考这篇:[Caddy2] Caddyfile 使用其它 DNS provider

 

Ref:https://caddy.community/t/v2-caddyfile-problem-with-cloudflare-plugin/7886/8

Link:https://www.cnblogs.com/farwish/p/13111335.html

[Caddy2] cloudflare, acme: cleaning up failed: no memory of presenting a DNS record

原文:https://www.cnblogs.com/farwish/p/13111335.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!