Error updating certificate


I’m using Lets Encrypt with certbot on my server, running

I updated the page some weeks ago (and the main folder changed, with the .well-known).

I need to update the certificate now, but I can’t due to the following error:

   Type:   unauthorized
   Detail: Invalid response from
   <head><title>404 Not Found</title></head>
   <body bgcolor="white">
   <center><h1>404 Not Found</h1></center>

What can I do to fix this?

You probably need to bypass the https redirection and/or detail exactly where the challenge request folder is located.
try using something like:
Alias /.well-known/acme-challenge /local/path/to/challenge

Than you can place a “test.txt” file at that challenge location and ensure it is available from the Internet.

You can update this location by editing /etc/letsencrypt/renewal/ (or whatever that file is called on your system), and changing the location of the webroot directory to reflect the correct current location. Then you can try re-running certbot renew.

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