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

通过llama.cpp与羊驼聊天的网页界面- 详解 Serge 的启动使用

 

使用 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

 

Refer:Caddy2结合cloudflare

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

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

posted on 2020-06-13 00:20  ercom  阅读(1061)  评论(0编辑  收藏  举报