Unauthorized response

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:
test.txanalytics.com
I ran this command:

docker-compose run --rm --entrypoint "\
  certbot certonly --webroot -w /var/www/certbot \
    --staging \
    redacted@gmail.com \
    test.txanalytics.com \
    --rsa-key-size 2048 \
    --agree-tos \
    --force-renewal" certbot

It produced this output:

### Requesting Let's Encrypt certificate for test.txanalytics.com ...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for test.txanalytics.com
Using the webroot path /var/www/certbot for all unmatched domains.
Waiting for verification...
Challenge failed for domain test.txanalytics.com
http-01 challenge for test.txanalytics.com
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: test.txanalytics.com
   Type:   unauthorized
   Detail: Invalid response from
   http://test.txanalytics.com/.well-known/acme-challenge/S5jpV1JxN09e29Q_RrRqOudqwC0JmVg02gyMFxXCJfY
   [35.209.164.163]: 404

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address.

My web server is (include version):
attempting to use nginx with docker compose, currently server is running a docker image on google compute engine (Virtual Machine)

The operating system my web server runs on is (include version):
ubuntu 18
My hosting provider, if applicable, is:
google

I can login to a root shell on my machine (yes or no, or I don’t know):
yes, on both, Though on the virtual machine It is read only.

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

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

Hi @neddacs

there is your topic with the same problem.

You have to find your correct webroot.

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