1. Caddy version (caddy version
):
caddy_v1.0.4_windows_amd64_custom
2. How I run Caddy:
Windows Service
a. System environment:
Windows 2019 DataCenter (VM on Azure)
b. Command:
c:\caddy\caddy.exe -agree=true -conf=c:\caddy\caddyfile
c. Service/unit/compose file:
d. My complete Caddyfile or JSON config:
:443
proxy / 10.0.0.4:80 {
transparent
}
tls {
ca https://acme-v02.api.letsencrypt.org/directory
ask https://cp.[deleted].com/callbacks/caddy/ValidateCustomURL.aspx
}
root C:\caddy\www
#log C:\caddy\logs\caddy.log
#errors C:\caddy\logs\error.log
3. The problem I’m having:
Caddy runs OK but new certs are not created during the last 4 days (last cert was created 4 days ago).
The server is stable and didn’t have any maintenance or change during the last 2 years.
No CPU or memory issues, no Firewall cahnges.
When Caddy is trying to create new certs we see that it interacts with the ‘ask’ URL properly.
We’ve tried to restart the service with logs and errors enabled.
There was no error or and indication in the log file for the failure.
4. Error messages and/or full log output:
5. What I already tried:
Restarted the service with log and error enabled.
The errors file remained empty.
The log displayed the traffic but didn’t indicate any problem:
log C:\caddy\logs\caddy.log
errors C:\caddy\logs\error.log