现在的情况是拉起来 caddy 后它申请证书失败
{“level”:“info”,“ts”:1721615461.485772,“logger”:“http”,“msg”:“using ACME account”,“account_id”:“https://acme-v02.api.letsencrypt.org/acme/acct/1850020837","account_contact":[]}
{“level”:“info”,“ts”:1721615462.0865264,“logger”:“http.acme_client”,“msg”:“trying to solve challenge”,“identifier”:“test.taaakooo.com”,“challenge_type”:“tls-alpn-01”,“ca”:“https://acme-v02.api.letsencrypt.org/directory”}
{“level”:“error”,“ts”:1721615463.7762697,“logger”:“http.acme_client”,“msg”:“challenge failed”,“identifier”:“test.taaakooo.com”,“challenge_type”:“tls-alpn-01”,“problem”:{“type”:“urn:ietf:params:acme:error:unauthorized”,“title”:"",“detail”:"Cannot negotiate ALPN protocol \“acme-tls/1\” for tls-alpn-01 challenge",“instance”:"",“subproblems”:[]}}
{“level”:“error”,“ts”:1721615463.7763648,“logger”:“http.acme_client”,“msg”:“validating authorization”,“identifier”:“test.taaakooo.com”,“problem”:{“type”:“urn:ietf:params:acme:error:unauthorized”,“title”:"",“detail”:"Cannot negotiate ALPN protocol \“acme-tls/1\” for tls-alpn-01 challenge",“instance”:"",“subproblems”:[]},“order”:“https://acme-v02.api.letsencrypt.org/acme/order/1850020837/289443746327","attempt":1,"max_attempts":3}
{“level”:“info”,“ts”:1721615465.3833792,“logger”:“http.acme_client”,“msg”:“trying to solve challenge”,“identifier”:“test.taaakooo.com”,“challenge_type”:“http-01”,“ca”:“https://acme-v02.api.letsencrypt.org/directory”}
{“level”:“error”,“ts”:1721615477.0594025,“logger”:“http.acme_client”,“msg”:“challenge failed”,“identifier”:“test.taaakooo.com”,“challenge_type”:“http-01”,“problem”:{“type”:“urn:ietf:params:acme:error:unauthorized”,“title”:"",“detail”:“34.124.237.188: Invalid response from http://test.taaakooo.com/.well-known/acme-challenge/GVe9EHP7cwA_UUz1YvgOLNbhLPff2hxDYs6ZJD3fiE4: 400”,“instance”:"",“subproblems”:[]}}
{“level”:“error”,“ts”:1721615477.0596044,“logger”:“http.acme_client”,“msg”:“validating authorization”,“identifier”:“test.taaakooo.com”,“problem”:{“type”:“urn:ietf:params:acme:error:unauthorized”,“title”:"",“detail”:“34.124.237.188: Invalid response from http://test.taaakooo.com/.well-known/acme-challenge/GVe9EHP7cwA_UUz1YvgOLNbhLPff2hxDYs6ZJD3fiE4: 400”,“instance”:"",“subproblems”:[]},“order”:“https://acme-v02.api.letsencrypt.org/acme/order/1850020837/289443765947","attempt":2,"max_attempts":3}
{“level”:“error”,“ts”:1721615477.0596802,“logger”:“tls.obtain”,“msg”:“could not get certificate from issuer”,“identifier”:“test.taaakooo.com”,“issuer”:“acme-v02.api.letsencrypt.org-directory”,“error”:“HTTP 403 urn:ietf:params:acme:error:unauthorized - 34.124.237.188: Invalid response from http://test.taaakooo.com/.well-known/acme-challenge/GVe9EHP7cwA_UUz1YvgOLNbhLPff2hxDYs6ZJD3fiE4: 400”}
{“level”:“error”,“ts”:1721615477.0598044,“logger”:“tls.obtain”,“msg”:“will retry”,“error”:“[test.taaakooo.com] Obtain: [test.taaakooo.com] solving challenge: test.taaakooo.com: [test.taaakooo.com] authorization failed: HTTP 403 urn:ietf:params:acme:error:unauthorized - 34.124.237.188: Invalid response from http://test.taaakooo.com/.well-known/acme-challenge/GVe9EHP7cwA_UUz1YvgOLNbhLPff2hxDYs6ZJD3fiE4: 400 (ca=https://acme-v02.api.letsencrypt.org/directory)”,“attempt”:1,“retrying_in”:60,“elapsed”:16.784604551,“max_duration”:2592000}
直接访问该路径会返回“Client sent an HTTP request to an HTTPS server.”