Auto renew let's encrypt


Lorsque j'effectue ma commande de test :
certbot renew --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Processing /etc/letsencrypt/renewal/

Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator nginx, Installer nginx
Simulating renewal of an existing certificate for
Performing the following challenges:
http-01 challenge for
Waiting for verification...
Challenge failed for domain
http-01 challenge for
Cleaning up challenges
Failed to renew certificate with error: Some challenges have failed.

All simulated renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/ (failure)

1 renew failure(s), 0 parse failure(s)


  • The following errors were reported by the server:

    Type: connection
    Detail: X.X.X.X: Fetching
    Server is speaking HTTP/2 over HTTP

    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. Additionally, please check that
    your computer has a publicly routable IP address and that no
    firewalls are preventing the server from communicating with the
    client. If you're using the webroot plugin, you should also verify
    that you are serving files from the webroot path you provided.

La commande tombe en erreur suite à un problème de DNS, Pourtant la résolution s'effectue correctement
Le port 80 est ouvert sur mon firewall et le nmap confirme l'ouverture

PS : j'ai remplacé mon domaine par

Merci d'avance

This part of the error message should say enough.


If you have

listen 80 http2;

replace it with:

listen 80;

HTTP/2 over cleartext is not really supported by anything, and it's not compatible with normal HTTP.


Thanks, good now !

1 Like