On a Debian9 VPS, using certbot for Prosody certs is quite easy:
prosodyctl --root cert import /etc/letsencrypt/live
but my question is:
Certbot for Debian9 come with a cron job that will renew existing certificates automatically:
The Certbot packages on your system come with a cron job that will renew your certificates automatically before they expire. Since Let’s Encrypt certificates last for 90 days, it’s highly advisable to take advantage of this feature. You can test automatic renewal for your certificates by running this command:
$ sudo certbot renew --dry-run
so, which is the right way for tell “prosodyctl” the certificates change? So to run “prosodyctl --root cert…” only if there is a change / update of the certificate?
Many many thanks!