I'm a pretty basic user here, and while trying to force a certificate renewal (which I just learned now I probably didn't need to do), I've stopped my web server from working. Here's some quick details, appreciate any assistance.
OS- Linux
Webserver- Caddy V1
I saw a comment while searching where someone said they deleted the contents of /etc/ssl/caddy and restarted the server to grab new certs, but that broke things for me. I'll detail the errors below. I copied the "caddy" directory first in case it didn't work, but after adding that directory back, I get the same errors.
When trying to run caddy, I get:
caddy.service - Caddy HTTP/2 web server
Loaded: loaded (/etc/systemd/system/caddy.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2022-01-26 09:44:48 PST; 5s ago
Docs: Welcome — Caddy Documentation
Process: 6207 ExecStart=/usr/local/bin/caddy -log stdout -log-timestamps=false -agree=true -conf=/etc/caddy/Caddyfile -root=/var/tmp (code=exited, sta
Main PID: 6207 (code=exited, status=1/FAILURE)
Jan 26 09:44:48 plexmini systemd[1]: Started Caddy HTTP/2 web server.
Jan 26 09:44:48 plexmini caddy[6207]: [INFO] Caddy version: v1.0.4
Jan 26 09:44:48 plexmini caddy[6207]: Activating privacy features... [INFO][cache:0xc0000adc20] Started certificate maintenance routine
Jan 26 09:44:48 plexmini caddy[6207]: decoding certificate metadata: unexpected end of JSON input
Jan 26 09:44:48 plexmini systemd[1]: caddy.service: Main process exited, code=exited, status=1/FAILURE
Jan 26 09:44:48 plexmini systemd[1]: caddy.service: Failed with result 'exit-code'.
Anyone know where I can go from here?