Imposible de renouveler le certificat et ajoutant un nouveau sous-domaine (Error getting validation data)

Je peux lire des réponses en Anglais : oui

Mon nom de domaine est : (enregistrements : et

J’ai exécuté cette commande : certbot certonly --nginx

Elle a produit cette sortie :

[root@EBO-R-PROXY /]# certbot certonly --nginx
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Which names would you like to activate HTTPS for?


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):

You have an existing certificate that contains a portion of the domains you
requested (ref: /etc/letsencrypt/renewal/

It contains these names:

You requested these names for the new certificate:,

Do you want to expand and replace this existing certificate with the new

(E)xpand/(C)ancel: E
Renewing an existing certificate for and

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Type: connection
Detail: Fetching Error getting validation data

Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.

Some challenges have failed.
Ask for help or search for solutions at See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

Mon serveur Web est (inclure la version) : nginx 1.21.6

Le système d’exploitation sur lequel mon serveur Web s’exécute est (version incluse) : Centos Stream 9

Je peux me connecter à un shell root sur ma machine (oui ou non, ou je ne sais pas) : oui

J’utilise un panneau de configuration pour gérer mon site (non, ou fournit le nom et la version du panneau de configuration) : non

To use http validation, TCP port 80 must be open (and with no geographic filters etc) to allow http traffic to your server.


I was just being stupid and port 80 was not open on my vm's firewall... Thanks @webprofusion