No renewals were attempted

I have the same problem. Before opening a new thread, I better ask here.
In my case, I have my Laravel application deployed on an Ubuntu 22.04.3 LTS (GNU/Linux 6.2.0-1012-aws x86_64) EC2 server from AWS.

Before a system update, everything was fine. I had the certificate installed without problems, but it started to fail and I don't know why.

I have tried to renew the certificate but the message is the following:

sudo certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No renewals were attempted.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Trying to install the certificate again the message says the following:

sudo certbot certonly --apache -d textosprohibidos.shop --dry-run                           
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Simulating a certificate request for textosprohibidos.shop

Certbot failed to authenticate some domains (authenticator: apache). 
The Certificate Authority reported these problems:
  Domain: textosprohibidos.shop
  Type:   connection
  Detail: 3.141.1.184: Fetching http://textosprohibidos.shop/.well-known/acme-challenge/Dz1dec_qPUhBvMaKjZOgjeQByYUM8U2vEO4Klw8xtRw: Error getting validation data

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 exit sudo apachectl -t -D DUMP_VHOSTS

VirtualHost configuration:
*:80                   texto-prohibido (/etc/apache2/sites-enabled/texto-prohibido.conf:1)
*:443                  texto-prohibido (/etc/apache2/sites-enabled/texto-prohibido.conf:22)

Apache2 config:

<VirtualHost *:80>
    ServerName texto-prohibido
    ServerAlias www.texto-prohibido
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/texto-prohibido/public
    <Directory /var/www/texto-prohibido/public>
        Options +FollowSymlinks -Indexes
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:443>
    ServerName texto-prohibido
    ServerAlias www.texto-prohibido
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/texto-prohibido/public
    <Directory /var/www/texto-prohibido/public>
        Options +FollowSymlinks -Indexes
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Does anyone have any idea why this is happening?

We always prefer each person start their own thread. The "Detail" error you show is not that same as this thread. And, even when they are the reasons are often different.

That said, I think your IPv6 address in the DNS is wrong.

Your IPv4 record points to an Apache server but your IPv6 AAAA points to Hostinger hosting site. The IPv6 is not even in AWS.

Review your DNS and use Let's Debug to test results. If you still have problems please start a new thread

https://letsdebug.net

4 Likes

Indeed, the problem was that in my domain provider (Hostinger) there was an AAAA record that should not exist. Thank you very much for your help, it was very useful. This community is something awesome. Congratulations.

3 Likes

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