[Moderator's note: This post is from 2015. Since then, the
letsencrypt command has been renamed
certbot, and you can renew by running "certbot renew". You can also add that command to your crontab:
$ sudo crontab -e
# Add this to the crontab and save it:
* 7,19 * * * certbot -q renew
I created certificates using
letsencrypt -a webroot --webroot-path /var/common-le-root/ -d example.com certonly
for some of my domains (actually I set the authenticator and webroot-path in cli.ini).
letsencrypt shows me that no installer is selected,
letsencrypt certonly asks for domains as well as
letsencrypt -i null (I've a script which runs after every letsencrypt run and checks whether services need to be restarted or not (based on the live certificates). Even setting
renew-by-default did not changes anything.
How can I automate the renewal of issued certificates?