Seeking advice. I have many services that require cert renewal for HTTPS. My usual workflow for nginx is:

1) set up a cron job to call certbot monthly (strictly more often than needed for a 90 day cert but I'm lazy)
2) 91 days later, re-cert fails, realize that there was a bug in my script, fix it
3) 91 days later, re-cert fails, realize there was a bug in my script, fix it
4) at this point it probably now works forever

Is there a good way to test things properly so I skip steps 2 and 3??

0

If you have a fediverse account, you can quote this note from your own instance. Search https://friend.camp/users/darius/statuses/115788174147584060 on your instance and quote it. (Note that quoting is not supported in Mastodon.)