1. Output of caddy version
:
v2.5.1 h1:bAWwslD1jNeCzDa+jDCNwb8M3UJ2tPa8UZFFzPVmGKs=
2. How I run Caddy:
Caddy Windows Service - powered by WinSW
a. System environment:
Windows Server 2019
b. Command:
Paste command here.
c. Service/unit/compose file:
n/a
d. My complete Caddy config:
ecgrowapi.com {
respond "ecgrowapi.com Caddy Server response"
#handle_path /api* {
# reverse_proxy localhost:3001
#}
#handle {
# root * C:\Web\Webs\ExternalWeb
# encode gzip
# file_server
#}
}
3. The problem Iâm having:
We have a domain, ecgrowapi.com and the https was working just fine. I was doing some work enabling and disabling internet access on this server as I was doing work and for some reason the SSL cert stopped working. It seems like the challenge is failing for some reason in the logs.
4. Error messages and/or full log output:
C:\Web\caddy>2022/10/24 02:13:04.280 WARN exiting; byeee!! đ {"signal": "SIGINT"}
2022/10/24 02:13:04.309 INFO tls.cache.maintenance stopped background certificate maintenance {"cache": "0xc00095bce0"}
2022/10/24 02:13:04.309 WARN tls.issuance.acme.acme_client HTTP request failed; retrying {"url": "https://acme.zerossl.com/v2/DV90/authz/D4iF4U7QeyQrdWQKY1qnUA", "error": "performing request: Post \"https://acme.zerossl.com/v2/DV90/authz/D4iF4U7QeyQrdWQKY1qnUA\": context canceled"}
2022/10/24 02:13:04.311 WARN tls.issuance.acme.acme_client HTTP request failed; retrying {"url": "https://acme.zerossl.com/v2/DV90/authz/D4iF4U7QeyQrdWQKY1qnUA", "error": "performing request: Post \"https://acme.zerossl.com/v2/DV90/authz/D4iF4U7QeyQrdWQKY1qnUA\": context canceled"}
2022/10/24 02:13:04.311 ERROR tls.issuance.acme.acme_client deactivating authorization {"identifier": "ecgrowapi.com", "authz": "https://acme.zerossl.com/v2/DV90/authz/D4iF4U7QeyQrdWQKY1qnUA", "error": "attempt 1: https://acme.zerossl.com/v2/DV90/authz/D4iF4U7QeyQrdWQKY1qnUA: context canceled"}
2022/10/24 02:13:04.311 ERROR tls.obtain could not get certificate from issuer {"identifier": "ecgrowapi.com", "issuer": "acme.zerossl.com-v2-DV90", "error": "[ecgrowapi.com] solving challenges: [ecgrowapi.com] checking authorization status: attempt 1: https://acme.zerossl.com/v2/DV90/authz/D4iF4U7QeyQrdWQKY1qnUA: context canceled (order=https://acme.zerossl.com/v2/DV90/order/xls2NcBZnFekwtQiqKkr-Q) (ca=https://acme.zerossl.com/v2/DV90)"}
2022/10/24 02:13:04.312 INFO tls.obtain releasing lock {"identifier": "ecgrowapi.com"}
2022/10/24 02:13:04.312 ERROR tls.obtain unable to unlock {"identifier": "ecgrowapi.com", "lock_key": "issue_cert_ecgrowapi.com", "error": "remove C:\\Users\\Administrator\\AppData\\Roaming\\Caddy\\locks\\issue_cert_ecgrowapi.com.lock: The system cannot find the file specified."}
2022/10/24 02:13:04.323 ERROR tls job failed {"error": "ecgrowapi.com: obtaining certificate: [ecgrowapi.com] Obtain: [ecgrowapi.com] solving challenges: [ecgrowapi.com] checking authorization status: attempt 1: https://acme.zerossl.com/v2/DV90/authz/D4iF4U7QeyQrdWQKY1qnUA: context canceled (order=https://acme.zerossl.com/v2/DV90/order/xls2NcBZnFekwtQiqKkr-Q) (ca=https://acme.zerossl.com/v2/DV90)"}
2022/10/24 02:13:04.324 INFO admin stopped previous server {"address": "tcp/localhost:2019"}
2022/10/24 02:13:04.324 INFO shutdown complete {"signal": "SIGINT", "exit_code": 0}
5. What I already tried:
Tried different options in the caddyfile.