On a related note, I haven't used Caddy but have used lego (which Caddy uses under the hood) and lego makes amazingly easy to get certs via commandline and DNS challenge.
Literally, one line (without needing root). Happy user.
Literally, one line (without needing root). Happy user.