Cannot get a certificate for website - "unauthorized"

My domain is:
I ran this command:
certbot --nginx -d
It produced this output:

   Type:   unauthorized
   Detail: 2001:19f0:7402:14:5400:4ff:fe24:8c9e: Invalid response from

   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):
Nginx 1.18.0
The operating system my web server runs on is (include version):
Debian 10
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.12.0

I go to just fine, except it isnt http, since i didnt setup ssl yet. but for some reason i get the unauthorized error. i have both A and AAAA records pointing to my server, so that isnt the issue.

Here is my Nginx configuration:

server {
    listen 80;
    #listen [::]:80;


    root /var/www/;
    index index.html;

If you need any more info let me know

your nginx configuration is missing a semicolon at the server_name line. I assume nginx won't like that and can refuse to restart/reload.


yep, i noticed that right after posting! i added a semicolon and atleast the index page seems to show up, but still certbot doesnt work.

Also: your server block isn't responding on ipv6 because you told it not to. :smiley:

Uncomment that line.


ah, i dont know how i missed that....


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