Skip to content

Instantly share code, notes, and snippets.

@todgru
Created January 13, 2019 00:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todgru/1132587eb30eca9582970e855b17f71c to your computer and use it in GitHub Desktop.
Save todgru/1132587eb30eca9582970e855b17f71c to your computer and use it in GitHub Desktop.
certbot lenscrypt ssl

SSL Cert

https://certbot.eff.org/lets-encrypt/debianother-nginx.html

This worked. For renewing the cert automatically, I used this in crontab:

23 0,12 * * * ./opt/certbot/certbot-auto renew --nginx

When using --dry-run, without the --nginx flag, I received this error:

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.',)
Attempting to renew cert (example.com) from /etc/letsencrypt/renewal/example.com.conf produced an unexpected error: 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.',). Skipping.
The following certs could not be renewed:
  /etc/letsencrypt/live/example.com/fullchain.pem (failure)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment