(2021-07-20) Renewing SSL

I set up SSL at (2021-04-25) Move To DigitalOcean. It's time to renew.

Jul20

  • So I tried certbot renew like in the instructions pasted at that log page.
Processing /etc/letsencrypt/renewal/flux.garden.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.')
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/flux.garden/fullchain.pem (failure)
  • So try sudo certbot renew --manual-auth-hook
usage: 
  certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
it will attempt to use a webserver both for obtaining and installing the
certificate. 
certbot: error: argument --manual-auth-hook: expected one argument
  • My friend had suggested simply sudo certbot --nginx -d www.flux.garden -d flux.gardenThe requested nginx plugin does not appear to be installed
  • It sounds like it's safe to repeat the original-creator command. →
Please deploy a DNS TXT record under the name
_acme-challenge.flux.garden with the following value:
Cleaning up challenges

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/flux.garden/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/flux.garden/privkey.pem
   Your cert will expire on 2021-10-19. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew"

Edited:    |       |    Search Twitter for discussion