Lets Encrypt certificate expired but did not autorenew and cannot re-obtain. Same problem as [SOLVED] Letsencrypt certificate expired, did not autorenew and not possible to re-obtain but slightly different error message and the solution does not work for me. I’m opening a new thread so as not to contaminate a Solved problem.
Steps to Reproduce
- Login to FreedomBox as Admin.
- Go to System / Let’s Encrypt application page.
- Two domains listed: mydomain.org with certificate status Valid; app1.mydomain.org with certificate status Expired.
- Select ‘Re-obtain’ on expired certificate.
I expected to see a message confirming that the certificate was re-obtained and showing a new expiry date.
I get an error with the following message:
Failed to obtain certificate for domain app1.mydomain.org: Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Renewing an existing certificate Performing the following challenges: http-01 challenge for app1.mydomain.org Using the webroot path /var/www/html for all unmatched domains. Waiting for verification... Cleaning up challenges Failed authorization procedure. app1.mydomain.org (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://app1.mydomain.org/.well-known/acme-challenge/5nCF...xyz [xx.xxx.xx.xx]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
- FreedomBox version: Debian GNU/Linux 10 (buster) and FreedomBox version 21.1
- Hardware: Raspberry Pi 3
The Freedombox is accessible from the Internet. My router is set via DMZ to route traffic to the Freedombox. All other Freedombox apps are working fine. It’s just this Let’s Encrypt certificate that’s a problem.
Additionally, I cannot see the debug log or any files in
Permission denied, despite having administrator privileges.