Error when installing let's encrypt certificate using certbot and apache

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:
aqartop.com
I ran this command:
sudo certbot --apache

It produced this output:
Which names would you like to activate HTTPS for?


1: aqartop.com
2: www.aqartop.com


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1 2
Requesting a certificate for aqartop.com and www.aqartop.com

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: aqartop.com
Type: unauthorized
Detail: 2a02:4780:b:966:0:24a7:75f:1: Invalid response from http://aqartop.com/.well-known/acme-challenge/dE8OH_XYa_gqmhzJPI-joGUKkIm4ZHWD0JKsATn66_U: 404

Domain: www.aqartop.com
Type: unauthorized
Detail: 2a02:4780:b:966:0:24a7:75f:1: Invalid response from http://www.aqartop.com/.well-known/acme-challenge/8ltIXsanljUxf2dRZinJGidkezFkigvgkqA7e-q-y98: 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.
My web server is (include version):
apache2

The operating system my web server runs on is (include version):
ubunto 20.04
My hosting provider, if applicable, is:
hostinger

I can login to a root shell on my machine (yes or no, or I don't know):
yes
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 1.21.0

Your domain's IPv4 (A) and IPv6 (AAAA) DNS records are mixed up.

Your IPv6 records point to a Litespeed server.

Your IPv4 records point to an Apache server.

Remove whichever ones are not pointing to the right place.

4 Likes

OR
If you can, update them so they both [IPv4&IPv6] point to the same/correct server.

3 Likes

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