Daily crontab renew fails on popup

Daily executing of script for renew certificates ends / fails with dialog:

./letsencrypt-auto certonly --webroot -w /var/www/www.example.com --keep-until-expiring -d www.example.com

Certificate not yes due for renewal; no action taken. -> OK (button)

Script execution freeze on this error message, that requires click OK button.
I have many lines in shell file and need to execute next lines.

For renewal you could try the letsencrypt-auto renew function. This is non-interactive by default.

Furthermore, there’s a switch (something like --non-interactive, see letsencrypt-auto --help all to disable such messages in the non-renewal functions.

2 Likes

Thanks that works great.

1 Like