已正确配置ACME 和 DNS 账户,申请报错。用两台机器都安装了 1panel 申请证书都不行,手动验证可以
日志:
2024/01/08 16:12:50 开始申请证书,域名 [www.test.com,test.com] 申请方式 [DNS 自动] DNS 账号 [CF] 厂商 [CloudFlare]
2024/01/08 16:12:50 [INFO] [www.test.com, test.com] acme: Obtaining bundled SAN certificate
2024/01/08 16:12:54 [INFO] [www.test.com] AuthURL: https://dv.acme-v02.api.pki.goog/authz/8i5TNk81z3sunGhNo0sKXw
2024/01/08 16:12:54 [INFO] [test.com] AuthURL: https://dv.acme-v02.api.pki.goog/authz/fX3f2JQ_t01-c4Zcwfoxvg
2024/01/08 16:12:54 [INFO] [www.test.com] acme: Could not find solver for: tls-alpn-01
2024/01/08 16:12:54 [INFO] [www.test.com] acme: Could not find solver for: http-01
2024/01/08 16:12:54 [INFO] [www.test.com] acme: use dns-01 solver
2024/01/08 16:12:54 [INFO] [test.com] acme: Could not find solver for: tls-alpn-01
2024/01/08 16:12:54 [INFO] [test.com] acme: Could not find solver for: http-01
2024/01/08 16:12:54 [INFO] [test.com] acme: use dns-01 solver
2024/01/08 16:12:54 [INFO] [www.test.com] acme: Preparing to solve DNS-01
2024/01/08 16:12:54 [INFO] [test.com] acme: Preparing to solve DNS-01
2024/01/08 16:12:54 [INFO] [www.test.com] acme: Cleaning DNS-01 challenge
2024/01/08 16:12:54 [WARN] [www.test.com] acme: cleaning up failed: cloudflare: failed to find zone test.com.: ListZonesContext command failed: Invalid request headers (6003)
2024/01/08 16:12:54 [INFO] [test.com] acme: Cleaning DNS-01 challenge
2024/01/08 16:12:54 [WARN] [test.com] acme: cleaning up failed: cloudflare: failed to find zone test.com.: ListZonesContext command failed: Invalid request headers (6003)
2024/01/08 16:12:55 [INFO] Deactivating auth: https://dv.acme-v02.api.pki.goog/authz/8i5TNk81z3sunGhNo0sKXw
2024/01/08 16:12:57 [INFO] Deactivating auth: https://dv.acme-v02.api.pki.goog/authz/fX3f2JQ_t01-c4Zcwfoxvg
2024/01/08 16:12:58 申请 [www.test.com] 证书失败, error: one or more domains had a problem:
[www.test.com] [www.test.com] acme: error presenting token: cloudflare: failed to find zone test.com.: ListZonesContext command failed: Invalid request headers (6003)
[test.com] [test.com] acme: error presenting token: cloudflare: failed to find zone test.com.: ListZonesContext command failed: Invalid request headers (6003)