Renew not working


I am trying to renew my certs, I have still 8 days or so.
I tried but nothing works:

I am using this repo here:

And this tutorial to renew:

./letsencrypt-auto certonly --keep-until-renewal --webroot -w /var/www/ -d, -w /var/www/thing -d,

I get "unrecognized parameter --keep-until-renewal"

Then I tried to use the script:

if ! /path/to/letsencrypt-auto certonly -tvv --apache --keep -d,, > /var/log/letsencrypt/renew.log 2>&1 ; then
    echo Automated renewal failed:
    cat /var/log/letsencrypt/renew.log
    exit 1
apachectl graceful

I get this error:

The apache plugin is not working; there may be problems with your existing configuration.
The error was: NotSupportedError('Apache Version %s not supported.', '(2, 2, 22)'

(of course i changed the domais to my real domain)

I am using Debian Wheezy (7.9)
I installed the cert succesfully about 3 months ago.

Please tell me what I should do to renew the cert.

The correct switch is --keep-until-expiring. I guess you have your switch from the documentation? The docs are wrong I'm afraid.. :worried:

Use --keep-until-expiring and it'll probably work.

thanks! with --keep-until-expiring it works :slight_smile: someone should update the documentation.

Yeah, I already made an issue: [] Unavailable switch mentioned in documentation · Issue #2269 · certbot/certbot · GitHub

1 Like