Cannot renew using certbot renew


#1

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: lifemaxuk.co.uk

I ran this command: certbot renew

It produced this output:
lifemax@lifemaxuk:/etc/letsencrypt/renewal$ certbot renew --cert-name lifemaxuk.co.uk.conf
The following error was encountered:
[Errno 13] Permission denied: ‘/var/log/letsencrypt/.certbot.lock’
Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.
lifemax@lifemaxuk:/etc/letsencrypt/renewal$ sudo certbot renew --cert-name lifemaxuk.co.uk.conf
Saving debug log to /var/log/letsencrypt/letsencrypt.log
No certificate found with name lifemaxuk.co.uk.conf (expected /etc/letsencrypt/renewal/lifemaxuk.co.uk.conf.conf).
lifemax@lifemaxuk:/etc/letsencrypt/renewal$ sudo certbot renew --cert-name lifemaxuk.co.uk
Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/lifemaxuk.co.uk.conf

Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for lifemaxuk.co.uk
http-01 challenge for goodlifeguide.co.uk
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (lifemaxuk.co.uk) from /etc/letsencrypt/renewal/lifemaxuk.co.uk.conf produced an unexpected error: Failed authorization procedure. goodlifeguide.co.uk (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://goodlifeguide.co.uk/.well-known/acme-challenge/t0CmmRD-klB8743Xw1bmzoS553w3rWobeOeNg387-Oo: “\n\n404 Not Found\n\n

Not Found

\n<p”. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/lifemaxuk.co.uk/fullchain.pem (failure)

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/lifemaxuk.co.uk/fullchain.pem (failure)

1 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:

My web server is (include version): apache

The operating system my web server runs on is (include version): ubuntu 16.04

My hosting provider, if applicable, is: simply hosting

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): plesk


#2

Hi @williampatey

run it as root:

sudo certbot renew

But: There are two certificates created today:

https://transparencyreport.google.com/https/certificates?cert_search_auth=&cert_search_cert=&cert_search=include_expired:false;include_subdomains:false;domain:lifemaxuk.co.uk;issuer_uid:4428624498008853827&lu=cert_search

Installed is a certificate created 2018-09-05.

PS: Oh, now is the certificate installed created today :wink:


#3

Running as root does not solve the issue. Gives me the same response.


#4

Looks like your goodlifeguide.co.uk is broken.

  • Create (if not exist) two directories in your webroot of this domain - /.well-known/acme-challenge/ - there a file 1234 (without extension). Try to load this file via http://goodlifeguide.co.uk/.well-known/acme-challenge/1234
  • share your apache configuration and your certbot renew conf file (see /etc/letsencrypt/renewal).

#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.