The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet

The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.

My domain is: dogoshi.io

I ran this command: sudo certbot --nginx -d dogoshi.io -d www.dogoshi.io

It produced this output: Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: www.dogoshi.io
Type: unauthorized
Detail: 2a02:4780:6:1258:0:993:fb80:2: Invalid response from http://www.dogoshi.io/.well-known/acme-challenge/FRe1fW1rQgHhw11UX6xT5YvF-77sPf_GbwdTZJGqdV8: 404

Domain: dogoshi.io
Type: unauthorized
Detail: 2a02:4780:6:1258:0:993:fb80:2: Invalid response from http://dogoshi.io/.well-known/acme-challenge/AGJIznJgvrWinnMA3pG4ByLEAJRa2aqZlZwr3YPJgNQ: 404

Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.

My web server is (include version): localhost:3000

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

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):

does this IP address belong to you?

5 Likes

@tarifalhasan Are you running this command directly on the server for dogoshi.io?

Is nginx there listening directly for inbound connections from the Internet, or is there some kind of reverse proxy setup? (using nginx itself, or some other application?)

2 Likes

Why don't the two names return the same IP(s)?:

Name:    www.dogoshi.io
Address: 82.180.132.152

Name:      dogoshi.io
Addresses: 2a02:4780:10:4f22::1
           82.180.132.152
1 Like

The fact that the IPv6 address isn't listed for the www subdomain is probably an error in the DNS for the site, but I do think that the two IP addresses probably point to the same server—the output of curl -v4 dogoshi.io and curl -v6 dogoshi.io is convincingly identical!

1 Like

Why does the IPv6 address change?
[I smell a CDN or load-balancer]

1 Like

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