My domain is: acupuncture-nantes.fr
I ran this command: certbot renew
It produced this output:
Processing /etc/letsencrypt/renewal/acupuncture-nantes.fr.conf
Cert not yet due for renewal
Processing /etc/letsencrypt/renewal/mail.acupuncture-nantes.fr.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for mail.acupuncture-nantes.fr
Waiting for verification...
Challenge failed for domain mail.acupuncture-nantes.fr
http-01 challenge for mail.acupuncture-nantes.fr
Cleaning up challenges
Attempting to renew cert (mail.acupuncture-nantes.fr) from /etc/letsencrypt/renewal/mail.acupuncture-nantes.fr.conf produced an unexpected error: Some challenges have failed.. Skipping.
[...]
The following certs are not due for renewal yet:
/etc/letsencrypt/live/acupuncture-nantes.fr/fullchain.pem expires on 2021-08-13 (skipped)
/etc/letsencrypt/live/poterie-aisne.fr/fullchain.pem expires on 2021-09-06 (skipped)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/mail.acupuncture-nantes.fr/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: mail.acupuncture-nantes.fr
Type: unauthorized
Detail: Invalid response from
http://mail.acupuncture-nantes.fr/.well-known/acme-challenge/GTu-58PvDzsHlYuUFRPUYBGutDiBdQ42StJLBRnBHXo
[193.70.86.96]: "\n\n404 Not
Found\n\nNot Found
\n<p"To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version): Apache/2.4.41
The operating system my web server runs on is (include version): Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-66-generic x86_64)
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 0.40.0
Content of mail.acupuncture-nantes.fr.conf :
<VirtualHost *:80>
ServerAdmin thomas@acupuncture-nantes.fr
ServerName mail.acupuncture-nantes.fr
DocumentRoot /usr/share/roundcube
<Directory /usr/share/roundcube/>
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =mail.acupuncture-nantes.fr
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
At first i thought that /usr/share/roundcube/ being owned by root:root was the issue, so i chowned it to web:web but it didn't change anything.
Any clue ?