Here is v2.4.0-beta1 logs
2021/05/26 09:37:33.042 INFO using provided configuration {"config_file": "/etc/caddy/Caddyfile", "config_adapter": "caddyfile"}
2021/05/26 09:37:33.045 INFO admin admin endpoint started {"address": "tcp/localhost:2019", "enforce_origin": false, "origins": ["127.0.0.1:2019", "localhost:2019", "[::1]:2019"]}
2021/05/26 09:37:33.046 INFO http server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 443}
2021/05/26 09:37:33.046 INFO http enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
2021/05/26 09:37:33.046 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc0001f8a10"}
2021/05/26 09:37:33.047 DEBUG http starting server loop {"address": "[::]:443", "http3": false, "tls": true}
2021/05/26 09:37:33.047 INFO tls cleaned up storage units
2021/05/26 09:37:33.047 DEBUG http starting server loop {"address": "[::]:80", "http3": false, "tls": false}
2021/05/26 09:37:33.047 INFO http enabling automatic TLS certificate management {"domains": ["*.buct.edu.cn"]}
2021/05/26 09:37:33.047 INFO autosaved config {"file": "/config/caddy/autosave.json"}
2021/05/26 09:37:33.047 INFO serving initial configuration
2021/05/26 09:37:33.048 INFO tls.obtain acquiring lock {"identifier": "*.buct.edu.cn"}
2021/05/26 09:37:33.068 INFO tls.obtain lock acquired {"identifier": "*.buct.edu.cn"}
2021/05/26 09:37:33.093 WARN tls.issuance.zerossl missing email address for ZeroSSL; it is strongly recommended to set one for next time
2021/05/26 09:37:34.427 INFO tls.issuance.zerossl generated EAB credentials {"key_id": "65lcsMbsx-kreQ-IW7hOAg"}
2021/05/26 09:37:35.299 DEBUG tls.issuance.acme.acme_client http request {"method": "GET", "url": "https://acme.zerossl.com/v2/DV90", "headers": {"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["645"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:35 GMT"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:35.534 DEBUG tls.issuance.acme.acme_client http request {"method": "HEAD", "url": "https://acme.zerossl.com/v2/DV90/newNonce", "headers": {"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Type":["application/octet-stream"],"Date":["Wed, 26 May 2021 09:37:35 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["cVCX7Ds3yw2-NoZsyv0HMYwHmUjrp4T9reJ34Kew6fw"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:35.794 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/newAccount", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 201, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["579"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:35 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/account/65lcsMbsx-kreQ-IW7hOAg"],"Replay-Nonce":["ffJBIa20Plqn5XgJh1OVNmr7g35Mv0NBjg9pUWQHNGY"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:35.795 INFO tls.issuance.acme waiting on internal rate limiter {"identifiers": ["*.buct.edu.cn"]}
2021/05/26 09:37:35.795 INFO tls.issuance.acme done waiting on internal rate limiter {"identifiers": ["*.buct.edu.cn"]}
2021/05/26 09:37:36.077 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/newOrder", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 201, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["275"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:35 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/IptXMubG-4LoRY-nM7woLQ"],"Replay-Nonce":["HT9YqhLXQdANn0YDQjA086_4fotbgFKz3b2OtrJH_IM"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:36.322 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["295"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:36 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["TQbe_U5fGtEkCW3AtGRAP2wRTx365sL4mZTK7O9He8c"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:36.322 INFO tls.issuance.acme.acme_client trying to solve challenge {"identifier": "*.buct.edu.cn", "challenge_type": "dns-01", "ca": "https://acme.zerossl.com/v2/DV90"}
2021/05/26 09:37:37.741 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/chall/d0qXFmtz-iDHuq6fH2_EuQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["163"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:37 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\"","<https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg>;rel=\"up\""],"Replay-Nonce":["7-9pMBIu3Vb4bXaiaLtkwugvW5lMgDUynCV9t73GZdc"],"Retry-After":["10"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:37.741 DEBUG tls.issuance.acme.acme_client challenge accepted {"identifier": "*.buct.edu.cn", "challenge_type": "dns-01"}
2021/05/26 09:37:38.252 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:38 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["WhOkcFMbAqvYNi6p1iemezc9tiV2bIMzOYMKYL585Aw"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:43.490 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:43 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["YwKk-XlLGWm_yBasBVdr3zqYp80OWwzxb8qWATfNlUI"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:48.727 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:48 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["r-1BxS4y9gwjdiFUv3343EPkbrZIA80Bc3YDt0H4yUI"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:53.959 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:53 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["Iab7eUgJt_q4GXA13MT9iPw8bWsJzYyFwCIVqswNH5g"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:37:59.208 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:37:59 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["7_p-XAiPTWTDpkvhqcAPNcquakJhjf98uNNv72EgfU4"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:04.440 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:04 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["5G8Uj-HJcftyBmLz7vebM0U8wIbhB1xVbdtw0UfqbV0"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:09.677 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:09 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["3LfJmZ6UvUin1PVfiKCfhIU4rU2SwYrr9eU3L7_1Kvk"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:14.928 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:14 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["3_b1V2B-MV_zoHnx8wi4FBy33ST7sxfaNL36x0YDEV0"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:20.168 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:20 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["cAXRBso87xQB-6kxaSFawR9fu58KsSMjUupcGJXyIKw"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:25.400 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:25 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["HnpVaaqDUxdNPaH84y0apJucT2dMYv7mn-E3_VkX2pQ"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:30.661 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:30 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["VpX7wnaK-orNaai7wDfBHh4g2UM2QxEYaUDKHXHiMqg"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:35.905 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["298"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:35 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["uaYMhvvDz5_J9K6LBpq13iZESGseSIXTAtDGhLQBzxM"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:41.142 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/BideW-srnSsuoyfxrmEybg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["326"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:41 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["d6fdNu2nxMNGghkJw5NUJ_bf1ER1wmU2Lb73Tulsv0M"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:42.147 INFO tls.issuance.acme.acme_client validations succeeded; finalizing order {"order": "https://acme.zerossl.com/v2/DV90/order/IptXMubG-4LoRY-nM7woLQ"}
2021/05/26 09:38:42.408 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/order/IptXMubG-4LoRY-nM7woLQ/finalize", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["278"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:42 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/IptXMubG-4LoRY-nM7woLQ"],"Replay-Nonce":["bYE67rRY5n31JXewwc0miFEYpZCvAq8k-AzlssZ-IzU"],"Retry-After":["15"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:57.651 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/order/IptXMubG-4LoRY-nM7woLQ", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["350"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:38:57 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/IptXMubG-4LoRY-nM7woLQ"],"Replay-Nonce":["5jmlixtKHkeF6DsFwZrl0-xldFm0M9532GXOcsy6vuc"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:57.891 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/cert/JbVEaA7yHhjB1WaHbYkeaw", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.0-beta.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["4112"],"Content-Type":["application/pem-certificate-chain"],"Date":["Wed, 26 May 2021 09:38:57 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["og108tew8vxl3SnhppGqhdCzEcaWyY3FzxMTsAZZozY"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:38:57.892 INFO tls.issuance.acme.acme_client successfully downloaded available certificate chains {"count": 1, "first_url": "https://acme.zerossl.com/v2/DV90/cert/JbVEaA7yHhjB1WaHbYkeaw"}
2021/05/26 09:38:57.892 INFO tls.obtain certificate obtained successfully {"identifier": "*.buct.edu.cn"}
2021/05/26 09:38:57.892 INFO tls.obtain releasing lock {"identifier": "*.buct.edu.cn"}
2021/05/26 09:38:58.499 WARN tls stapling OCSP {"error": "no OCSP stapling for [*.buct.edu.cn]: parsing OCSP response: ocsp: error from server: unauthorized"}
Here is v2.4.1 logs
2021/05/26 09:27:47.211 INFO using provided configuration {"config_file": "/etc/caddy/Caddyfile", "config_adapter": "caddyfile"}
2021/05/26 09:27:47.215 INFO admin admin endpoint started {"address": "tcp/localhost:2019", "enforce_origin": false, "origins": ["localhost:2019", "[::1]:2019", "127.0.0.1:2019"]}
2021/05/26 09:27:47.215 INFO http server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 443}
2021/05/26 09:27:47.215 INFO http enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
2021/05/26 09:27:47.215 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc0002ed810"}
2021/05/26 09:27:47.216 DEBUG http starting server loop {"address": "[::]:443", "http3": false, "tls": true}
2021/05/26 09:27:47.216 INFO tls cleaning storage unit {"description": "FileStorage:/data/caddy"}
2021/05/26 09:27:47.216 DEBUG http starting server loop {"address": "[::]:80", "http3": false, "tls": false}
2021/05/26 09:27:47.216 INFO http enabling automatic TLS certificate management {"domains": ["*.buct.edu.cn"]}
2021/05/26 09:27:47.216 INFO tls finished cleaning storage units
2021/05/26 09:27:47.216 INFO autosaved config (load with --resume flag) {"file": "/config/caddy/autosave.json"}
2021/05/26 09:27:47.216 INFO serving initial configuration
2021/05/26 09:27:47.216 INFO tls.obtain acquiring lock {"identifier": "*.buct.edu.cn"}
2021/05/26 09:27:47.235 INFO tls.obtain lock acquired {"identifier": "*.buct.edu.cn"}
2021/05/26 09:27:47.260 WARN tls.issuance.zerossl missing email address for ZeroSSL; it is strongly recommended to set one for next time
2021/05/26 09:27:48.459 INFO tls.issuance.zerossl generated EAB credentials {"key_id": "xhaKwoXV7yNG_EVW78FfKg"}
2021/05/26 09:27:49.488 DEBUG tls.issuance.acme.acme_client http request {"method": "GET", "url": "https://acme.zerossl.com/v2/DV90", "headers": {"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["645"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:27:49 GMT"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:27:49.731 DEBUG tls.issuance.acme.acme_client http request {"method": "HEAD", "url": "https://acme.zerossl.com/v2/DV90/newNonce", "headers": {"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Type":["application/octet-stream"],"Date":["Wed, 26 May 2021 09:27:49 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["wiUnkrkAg3r6q-XZ2zQr-RFfb5muqa_hVO9kNbEChy8"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:27:50.002 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/newAccount", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 201, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["579"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:27:49 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/account/xhaKwoXV7yNG_EVW78FfKg"],"Replay-Nonce":["sMt3f6XL85ingPB8Zdq4BPP_K4QVJEqAgy1zsyg2e4Q"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:27:50.003 INFO tls.issuance.acme waiting on internal rate limiter {"identifiers": ["*.buct.edu.cn"]}
2021/05/26 09:27:50.003 INFO tls.issuance.acme done waiting on internal rate limiter {"identifiers": ["*.buct.edu.cn"]}
2021/05/26 09:27:50.308 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/newOrder", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 201, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["275"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:27:50 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/65ErF_6NM2mqWTI9DHgdCw"],"Replay-Nonce":["pvLHCG32sihEnXJ8MWg7p10hoviqxz33DSzIjQ8I68s"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:27:50.548 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/eTKebDFafB0cuIiA2P5beg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["295"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:27:50 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["h2ET2ovCyHFsY8_FmDZgC0bHZwg79YYzXHc7cpoZOHo"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:27:50.548 INFO tls.issuance.acme.acme_client trying to solve challenge {"identifier": "*.buct.edu.cn", "challenge_type": "dns-01", "ca": "https://acme.zerossl.com/v2/DV90"}
2021/05/26 09:29:53.119 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/eTKebDFafB0cuIiA2P5beg", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["139"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:29:53 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["Z7-WBY4Rx90e_GZasJdXu0JKjpNRD8i_sHIK-IrcSY8"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:29:53.120 ERROR tls.obtain will retry {"error": "[*.buct.edu.cn] Obtain: [*.buct.edu.cn] solving challenges: waiting for solver certmagic.solverWrapper to be ready: timed out waiting for record to fully propagate; verify DNS provider configuration is correct - last error: <nil> (order=https://acme.zerossl.com/v2/DV90/order/65ErF_6NM2mqWTI9DHgdCw) (ca=https://acme.zerossl.com/v2/DV90)", "attempt": 1, "retrying_in": 60, "elapsed": 125.884897089, "max_duration": 2592000}
2021/05/26 09:30:53.122 WARN tls.issuance.zerossl missing email address for ZeroSSL; it is strongly recommended to set one for next time
2021/05/26 09:30:54.363 INFO tls.issuance.zerossl generated EAB credentials {"key_id": "Z2tSdmpMjx7WZ0iA2ehFhg"}
2021/05/26 09:30:56.130 DEBUG tls.issuance.acme.acme_client http request {"method": "HEAD", "url": "https://acme.zerossl.com/v2/DV90/newNonce", "headers": {"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Type":["application/octet-stream"],"Date":["Wed, 26 May 2021 09:30:56 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["nSxkha2e2S7b5qGqWjhCfglyTnUN5QAxfbG1YAN9rxc"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:30:56.788 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/newAccount", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 201, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["579"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:30:56 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/account/Z2tSdmpMjx7WZ0iA2ehFhg"],"Replay-Nonce":["B32uzgvc8habss__ygleg2Pk4yXMEbDLTphQI5HUpbY"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:30:57.210 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/newOrder", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 201, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["275"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:30:57 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/s1IoNWpFkf7qwx3mp5fUSw"],"Replay-Nonce":["i61cqg6-445cfIL7ZKQNe8-mO1LibTep2eEEs8m-6Ag"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:30:57.523 DEBUG tls.issuance.acme.acme_client http request {"method": "POST", "url": "https://acme.zerossl.com/v2/DV90/authz/-N9UrDNzS6caxAusGi0t-A", "headers": {"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.4.1 CertMagic acmez (linux; amd64)"]}, "status_code": 200, "response_headers": {"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["295"],"Content-Type":["application/json"],"Date":["Wed, 26 May 2021 09:30:57 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["dasRA_YxnxyALdi9rh2FfO3J1-VLEffKWurtgu8mfHY"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]}}
2021/05/26 09:30:57.524 INFO tls.issuance.acme.acme_client trying to solve challenge {"identifier": "*.buct.edu.cn", "challenge_type": "dns-01", "ca": "https://acme.zerossl.com/v2/DV90"}
I have checked the DNS TXT recodes, both v2.4.0-beta1 and v2.4.1 set a new recode, but only v2.4.0-beta1 can issue the certificate and delete TXT recode automatically, v2.4.1 will stuck at solve challenge.
And I don’t know what is it doing while it logs “trying to solve challenge”.