Certbot failed to authenticate some domains

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: apiedup,myvnc.com

I ran this command: sudo certbot --apache

It produced this output: 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: apiedup.myvnc.com


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

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: apiedup.myvnc.com
Type: connection
Detail: 197.188.132.210: Fetching http://apiedup.myvnc.com/servererror.php?code=401: Redirect loop detected

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 web server is (include version): Apache2

The operating system my web server runs on is (include version): Distributor ID: Linuxmint
Description: Linux Mint 22
Release: 22
Codename: wilma

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 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' (not sure what it should run or show) as per the error message indeed has a redirect loop. It never shows the actual page that should be showed.

See e.g. redirect checking websites like Redirect Checker | Check your Statuscode 301 vs 302 for what your webserver does.

Please fix your redirect loop and try again.

Presently I see Port 80 & 443 are filtered.

$ nmap -Pn -p80,443 apiedup.myvnc.com
Starting Nmap 7.80 ( https://nmap.org ) at 2024-12-16 20:32 UTC
Nmap scan report for apiedup.myvnc.com (160.242.109.128)
Host is up.

PORT    STATE    SERVICE
80/tcp  filtered http
443/tcp filtered https

Nmap done: 1 IP address (1 host up) scanned in 3.71 seconds
2 Likes

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