AI智能
改变未来

使用Caddy申请免费的Let’s Encrypt泛域名SSL证书

三个月证书到期续签重启服务以后发现 caddy 到cloudflare有点问题

Cloudflare上删除重建了DNS 还是这个现象,非常奇怪

Activating privacy features… 2020/02/03 08:17:51 [INFO] [*.example.com] acme: Obtaining bundled SAN certificate
2020/02/03 08:17:51 [INFO] [*.example.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618093996
2020/02/03 08:17:51 [INFO] [*.example.com] acme: use dns-01 solver
2020/02/03 08:17:51 [INFO] [*.example.com] acme: Preparing to solve DNS-01
2020/02/03 08:17:52 [INFO] cloudflare: new record for example.com, ID 7d88d4be804178dfdb0f7326d2ce2dd
2020/02/03 08:17:52 [INFO] [*.example.com] acme: Trying to solve DNS-01
2020/02/03 08:17:52 [INFO] [*.example.com] acme: Checking DNS record propagation using [127.0.0.53:53]
2020/02/03 08:17:52 [INFO] Wait for propagation [timeout: 2m0s, interval: 2s]
2020/02/03 08:18:02 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:18:14 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:18:26 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:18:38 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:18:50 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:02 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:14 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:26 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:38 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:50 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:52 [INFO] [*.example.com] acme: Cleaning DNS-01 challenge
2020/02/03 08:19:52 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618093996
2020/02/03 08:19:53 [INFO] [*.example.com] acme: Obtaining bundled SAN certificate
2020/02/03 08:19:53 [INFO] [*.example.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618235436
2020/02/03 08:19:53 [INFO] [*.example.com] acme: use dns-01 solver
2020/02/03 08:19:53 [INFO] [*.example.com] acme: Preparing to solve DNS-01
2020/02/03 08:19:54 [INFO] cloudflare: new record for example.com, ID a8d06014881a4b45d321a0cff0e6ece72
2020/02/03 08:19:54 [INFO] [*.example.com] acme: Trying to solve DNS-01
2020/02/03 08:19:54 [INFO] [*.example.com] acme: Checking DNS record propagation using [127.0.0.53:53]
2020/02/03 08:19:54 [INFO] Wait for propagation [timeout: 2m0s, interval: 2s]
2020/02/03 08:20:04 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:20:16 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:20:28 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:20:40 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:20:52 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:04 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:16 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:28 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:40 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:52 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:54 [INFO] [*.example.com] acme: Cleaning DNS-01 challenge
2020/02/03 08:21:54 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618235436
2020/02/03 08:21:55 [INFO] [*.example.com] acme: Obtaining bundled SAN certificate
2020/02/03 08:21:56 [INFO] [*.example.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618262229
2020/02/03 08:21:56 [INFO] [*.example.com] acme: use dns-01 solver
2020/02/03 08:21:56 [INFO] [*.example.com] acme: Preparing to solve DNS-01
2020/02/03 08:21:56 [INFO] cloudflare: new record for example.com, ID e374f47856c2433851b263e61db1b2db
2020/02/03 08:21:56 [INFO] [*.example.com] acme: Trying to solve DNS-01
2020/02/03 08:21:56 [INFO] [*.example.com] acme: Checking DNS record propagation using [127.0.0.53:53]
2020/02/03 08:21:56 [INFO] Wait for propagation [timeout: 2m0s, interval: 2s]
2020/02/03 08:22:06 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:22:18 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:22:30 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:22:42 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:22:54 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:06 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:18 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:30 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:42 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:54 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:56 [INFO] [*.example.com] acme: Cleaning DNS-01 challenge
2020/02/03 08:23:56 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618262229
2020/02/03 08:23:58 failed to obtain certificate: acme: Error -> One or more domains had a problem:
[*.example.com] time limit exceeded: last error: read udp 45.205.1.150:45453->173.245.59.236:53: i/o timeout

三个月证书到期续签重启服务以后发现 caddy 到cloudflare有点问题

Cloudflare上删除重建了DNS 还是这个现象,非常奇怪

Activating privacy features… 2020/02/03 08:17:51 [INFO] [*.example.com] acme: Obtaining bundled SAN certificate
2020/02/03 08:17:51 [INFO] [*.example.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618093996
2020/02/03 08:17:51 [INFO] [*.example.com] acme: use dns-01 solver
2020/02/03 08:17:51 [INFO] [*.example.com] acme: Preparing to solve DNS-01
2020/02/03 08:17:52 [INFO] cloudflare: new record for example.com, ID 7d88d4be804178dfdb0f7326d2ce2dd
2020/02/03 08:17:52 [INFO] [*.example.com] acme: Trying to solve DNS-01
2020/02/03 08:17:52 [INFO] [*.example.com] acme: Checking DNS record propagation using [127.0.0.53:53]
2020/02/03 08:17:52 [INFO] Wait for propagation [timeout: 2m0s, interval: 2s]
2020/02/03 08:18:02 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:18:14 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:18:26 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:18:38 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:18:50 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:02 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:14 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:26 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:38 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:50 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:19:52 [INFO] [*.example.com] acme: Cleaning DNS-01 challenge
2020/02/03 08:19:52 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618093996
2020/02/03 08:19:53 [INFO] [*.example.com] acme: Obtaining bundled SAN certificate
2020/02/03 08:19:53 [INFO] [*.example.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618235436
2020/02/03 08:19:53 [INFO] [*.example.com] acme: use dns-01 solver
2020/02/03 08:19:53 [INFO] [*.example.com] acme: Preparing to solve DNS-01
2020/02/03 08:19:54 [INFO] cloudflare: new record for example.com, ID a8d06014881a4b45d321a0cff0e6ece72
2020/02/03 08:19:54 [INFO] [*.example.com] acme: Trying to solve DNS-01
2020/02/03 08:19:54 [INFO] [*.example.com] acme: Checking DNS record propagation using [127.0.0.53:53]
2020/02/03 08:19:54 [INFO] Wait for propagation [timeout: 2m0s, interval: 2s]
2020/02/03 08:20:04 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:20:16 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:20:28 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:20:40 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:20:52 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:04 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:16 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:28 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:40 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:52 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:21:54 [INFO] [*.example.com] acme: Cleaning DNS-01 challenge
2020/02/03 08:21:54 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618235436
2020/02/03 08:21:55 [INFO] [*.example.com] acme: Obtaining bundled SAN certificate
2020/02/03 08:21:56 [INFO] [*.example.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618262229
2020/02/03 08:21:56 [INFO] [*.example.com] acme: use dns-01 solver
2020/02/03 08:21:56 [INFO] [*.example.com] acme: Preparing to solve DNS-01
2020/02/03 08:21:56 [INFO] cloudflare: new record for example.com, ID e374f47856c2433851b263e61db1b2db
2020/02/03 08:21:56 [INFO] [*.example.com] acme: Trying to solve DNS-01
2020/02/03 08:21:56 [INFO] [*.example.com] acme: Checking DNS record propagation using [127.0.0.53:53]
2020/02/03 08:21:56 [INFO] Wait for propagation [timeout: 2m0s, interval: 2s]
2020/02/03 08:22:06 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:22:18 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:22:30 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:22:42 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:22:54 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:06 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:18 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:30 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:42 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:54 [INFO] [*.example.com] acme: Waiting for DNS record propagation.
2020/02/03 08:23:56 [INFO] [*.example.com] acme: Cleaning DNS-01 challenge
2020/02/03 08:23:56 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2618262229
2020/02/03 08:23:58 failed to obtain certificate: acme: Error -> One or more domains had a problem:
[*.example.com] time limit exceeded: last error: read udp 45.205.1.150:45453->173.245.59.236:53: i/o timeout

赞(0) 打赏
未经允许不得转载:爱站程序员基地 » 使用Caddy申请免费的Let’s Encrypt泛域名SSL证书