Hi, I have an issue when I want to renew a certificat including 5 domains name.
My domain is: ifdigital.institutfrancais.com
I ran this command:
certbot renew --quiet --no-self-upgrade
It produced this output:
Challenge failed for domain culturegamer.fr
Challenge failed for domain futurimage.fr
Challenge failed for domain futurlivre.fr
Challenge failed for domain culturevr.fr
Attempting to renew cert (ifdigital.institutfrancais.com) from /etc/letsencrypt/renewal/ifdigital.institutfrancais.com.conf produced an unexpected error: Some challenges have failed.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ifdigital.institutfrancais.com/fullchain.pem (failure)
My web server is (include version):
nginx version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is: Ubuntu 20.04.2 LTS
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, I have ssh access to configuration of nginx
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
So, I have a certificate called "ifdigital.institutfrancais.com" with 5 domains :
Domains: ifdigital.institutfrancais.com culturegamer.fr culturevr.fr futurimage.fr futurlivre.fr
I have a crontab with the following command :
certbot renew --quiet --no-self-upgrade
and it always fails since few weeks.
Error is
Challenge failed for domain culturegamer.fr
Challenge failed for domain futurimage.fr
Challenge failed for domain futurlivre.fr
Challenge failed for domain culturevr.fr
Attempting to renew cert (ifdigital.institutfrancais.com) from /etc/letsencrypt/renewal/ifdigital.institutfrancais.com.conf produced an unexpected error: Some challenges have failed.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ifdigital.institutfrancais.com/fullchain.pem (failure)
in letsencrypt.log, I have noticed that the IP address of the failed domains is not the same as my nginx server.
in the old letsencrypt logs, It wasn't like this, the five domains had the same IP.
But I don't have the control of the dns zone file.
Is it realy a problem to have different IP ? Because the dns redirection are OK ; when I'm going to culturegamer.fr, I'm redirecting to the main website ifdigital.institutfrancais.com.
I have also some nginx redirection.
I see this :
redirect.conf :
server {
listen 443 ssl http2;
server_name culturevr.fr culturegamer.fr futurimage.fr futurlivre.fr;
index index.html index.htm;
return 301 https://ifdigital.institutfrancais.com$request_uri;
}
main.conf
server {
listen 443 ssl http2;
server_name ifdigital.institutfrancais.com;
root /if_digital_prod/project_root/www/web;
index index.html index.htm;
...
}
Is it a certbot issue, a dns or a nginx misconfiguration ?
Thank you for your help.