Closed taylorthurlow closed 7 months ago
Thanks for the bug report. This is probably a bug with how I'm running Caddy to generate the certificates. It's not expected that you'd have to explicitly restart the daemon in order to refresh the certs, that's really annoying — sorry!
Right now it looks like the cert generated for each site is valid for 12 hours:
The intermediate cert used by each site is valid for one week:
And the root cert is valid for 10 years:
There's no reason the certs should only be valid for such a short period of time. I'll figure out how to make Caddy either auto-refresh these certs AND/OR provision them to be valid for much longer.
@taylorthurlow should be resolved, I published the latest version to brew so if you update everything should work. Please re-open this issue if you’re still having the same trouble. Thanks again for the bug report!
I find that I often have to
localias stop
andlocalias start
to trigger a renewal of my certificates. Is there an intended auto-refresh mechanism that isn't working, or is this just a feature request?