Unable to get certificate, some help please? Thanks

root@snow /var/www/html/snow # sudo certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.

1: snow.dev-undernet.org
2: web.dev-undernet.org

Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Requesting a certificate for snow.dev-undernet.org

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: snow.dev-undernet.org
Type: unauthorized
Detail: 2001:41d0:404:200::790d: Invalid response from http://snow.dev-undernet.org/.well-known/acme-challenge/IzvgeDmOOZazH7PvELDR2pxnlN6aDFfz6c42GdyoWTk: 404

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

Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My domain is: snow.dev-undernet.org

I ran this command:sudo certbot --apache

It produced this output:

My web server is (include version):

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

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

Your website shows different pages when it's accessed over IPv4 and IPv6.

The IPv4 version shows a DNSBL website, the IPv6 version shows a blank page.

The Certbot error is likely to be caused by this difference.

Seeing how your <VirtualHost> tags are written in your Apache configuration might shed some light on why Apache is not serving the same website for both addresses.

You can also remove your AAAA record if you don't intend to have a functional IPv6 website.


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