Renewal Problem webroot - Certbot failed to authenticate some domains (authenticator: webroot) - unauthorized

My domain is:

I ran this command:
certbot certonly --dry-run --cert-name --webroot -w /var/www/classicalconversationsplus/

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Certificate is due for renewal, auto-renewing...
Simulating renewal of an existing certificate for and
Performing the following challenges:
http-01 challenge for
http-01 challenge for
Using the webroot path /var/www/classicalconversationsplus for all unmatched domains.
Waiting for verification...
Challenge failed for domain
Challenge failed for domain
http-01 challenge for
http-01 challenge for

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Type: unauthorized
Detail: Invalid response from 404

Type: unauthorized
Detail: Invalid response from 404

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

My web server is (include version):
OpenLiteSpeed OpenLiteSpeed 1.7.16

The operating system my web server runs on is (include version):
Ubuntu 20.04

My hosting provider, if applicable, is:

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

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 1.32.0

I tried placing a test.txt file in /var/www/classicalconversationsplus/.well-known/acme-challenge/ and I can access this file from out of the network of server.

I ran these tests in this site:

I can't @ 404 file not found


I can actually access the test.txt file with HTTPS Port 443

$ curl
this is test

However not with HTTP Port 80.

$ curl
<!DOCTYPE html>
<html style="height:100%">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title> 404 Not Found
<body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;">
<div style="height:auto; min-height:100%; ">     <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;">
        <h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">404</h1>
<h2 style="margin-top:20px;font-size: 30px;">Not Found
<p>The resource requested could not be found on this server!</p>
</div></div><div style="color:#f0f0f0; font-size:12px;margin:auto;padding:0px 30px 0px 30px;position:relative;clear:both;height:100px;margin-top:-101px;background-color:#474747;border-top: 1px solid rgba(0,0,0,0.15);box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;">
<br>Proudly powered by  <a style="color:#fff;" href="">LiteSpeed Web Server</a><p>Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.</p></div></body></html>

Uch, for some reason I had the ":" behind "test.txt", so obviously that wouldn't work. Not sure where it came from :roll_eyes:

Although if I replicate Bruce's HTTP attempt without the :, which resulted in a 404 for Bruce, it does work for me now. So something has changed.

Then I don't understand why the challenge fails. The debug log from OpenLiteSpeed should shed more light on the reason why OpenLiteSpeed thinks it can't find the file.. I hope.


Thank you @Osiris and @Bruce5051 .

As I said, I run OpenLiteSpeed web server, the problem was that this domain did not have a listener for port 80, I added the listener and the authentication run without problem and in consecuense I could renew the certificate for this domain. For me, it is case closed.

As a suggestion, if you can add "Renewal problem" to the topic of the thread maybe helpfull for other people.

Thanks again.


I think you can edit it yourself when you edit your first post: the title becomes editable too.


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