mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #639] [Feature] 希望可以添加对lego的propagation-wait参数的支持 #428
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#428
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tossp on GitHub (Apr 22, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/639
功能描述 / Description
dns.propagation-wait主要是可以让lego跳过对TXT记录的复查,其实也不需要复查,通过API添加dns记录后必定是成功的,等待十秒是等待一下边缘服务器刷新。请求动机 / Motivation
当lego申请证书的时候,会去检查TXT记录不一致再去更新或者创建,这就会触发
cloudflare的TXT记录的缓存,导致lego自己一直验证不通过最后申请证书失败,实际记录已经生效了。其他 / Miscellaneous
lib 函数
github.com/go-acme/lego@950d4a0201/challenge/dns01/precheck.go (L47)cmd 调用例子
github.com/go-acme/lego@950d4a0201/cmd/setup_challenges.go (L148)贡献 / Contribution