I have a working SSL setup using the sysvinit script that comes with Caddy on an old Debian. But my certificate expired, so I switched to Let’s Encrypt, which works fine when started with sudo -u www-data caddy -conf /etc/caddy/Caddyfile &
.
But using the regular sudo service start caddy
all I get in stderr.log
is:
2017/01/29 13:39:59 [INFO] acme: Registering account for
After which Caddy dies. And that’s the whole line. No address.
Now I realize that sysvinit is a mess, and I’m probably dealing with a file permission issue, but it’d be much easier to debug if Caddy had better error messages.