Today I gained a little more knowledge about Caddy, and I thought I'd share in case someone is having the same issue.
I've been biting my nails worrying about Caddy updating certificates. Everything I had read told me not to sweat it. That Caddy had my back and wouldn't let any certs expire. Well, two did, today. So I set about today, after I got all my chores done, to see if I could figure out wtf.
Long story short, I had a inconsistency in the format of my Caddy file. It didn't affect the function of the file to the extent that it would not provide the certificate in daily use, but apparently I confused Caddy enough so that it couldn't determine when certs were expiring, and reissue the cert.
If you run the following:
caddy reload --config /etc/caddy/Caddyfile
And you get something like this:
2025/04/09 21:49:03.376 WARN Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies{"adapter": "caddyfile", "file": "/etc/caddy/Caddyfile", "line": 1}
It's a warning that something is askew. Not to worry tho, you can fix it thusly:
Make a backup assuming etc/caddy/Caddyfile is where your Caddyfile is:
cp /etc/caddy/Caddyfile /etc/caddy/Caddyfile.bak
Next we'll ask Caddy nicely to please reformat in an acceptible form:
sudo caddy fmt --overwrite /etc/caddy/Caddyfile
Trust but verify:
caddy validate --config /etc/caddy/Caddyfile
Now run:
caddy reload --config /etc/caddy/Caddyfile
You should be golden at this point.
Cheers
For the average consumer of AI, it's a novelty at this point, even tho we have been using pieces parts of AI for a long while now. But it's getting it's stride in stuff like face swaps, neat tiktok videos, making weird pictures. I liken it to when 'the cloud' came to town. Hell, we've been uploading to servers and running apps on servers for a long while before 'the cloud' happened. Everyone and their brother trampled each other to move their entire operations to the cloud. Then, as the dust all settled, we started realizing that not everything that could be in the cloud, should be in the cloud, and so things got back to normal. But just the words 'the cloud' made CEOs jizz their pants at one time.
Sameie, sameie with AI. It's a selling point. There was a thread here I believe, talking about an AI rice cooker. The 'AI' part sells it, even tho we've been making excellent rice for millennia. I use AI. I find it a faster way to cut through all the searches and give bulleted points to deviate from. I realize that it's not best practice to rely on AI's word, but use it as a springboard into further investigation.