Skip to content

Instantly share code, notes, and snippets.

@minimul
Created April 29, 2020 16:42
Show Gist options
  • Save minimul/da21f41d7c0535740c656e3ff4a01d9c to your computer and use it in GitHub Desktop.
Save minimul/da21f41d7c0535740c656e3ff4a01d9c to your computer and use it in GitHub Desktop.
1. Login to your server.
2. Test that your installed certbot version supports the --system argument
certbot --system
3. If you get the following result => "certbot: error: argument --server: expected one argument" then you're good to go.
4. Example crontab entry
10 6 * * * root certbot --server https://acme-v02.api.letsencrypt.org/directory renew 2>&1 >> /tmp/cerbot-renew.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment