mardi 27 décembre 2022

Renew LetsEncrypt certificate on kid2

sudo certbot renew --force-renewal

First attempt : failed

I had to poke a hole in the router for port 80, apparently certbot is designed to use this port and nothing else (for this renewal method) if I understand it right.  After that it worked fine:

luc@kid2:~$ sudo certbot renew --force-renewal
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/tuxic.dedyn.io.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Renewing an existing certificate for tuxic.dedyn.io
Reloading apache server after certificate renewal

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations, all renewals succeeded:
  /etc/letsencrypt/live/tuxic.dedyn.io/fullchain.pem (success)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -