Bonjour tout le monde,
Je viens vous voir car je suis confronté à un petit problème de renouvellement de certificat Letsencrypt.
D’habitude, la suite de commandes me renouvèle sans problème mon certificat SSL :
sudo systemctl stop nginx
sudo certbot renew
sudo systemctl reload nginx
Mais j’obtiens cette fois-ci une erreur (en plus j’ai un peu laissé trainé, donc le certificat a expiré…) :
sudo certbot renew --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/peertube.designersethiques.org.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator standalone, Installer nginx
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for peertube.designersethiques.org
Cleaning up challenges
Attempting to renew cert (peertube.designersethiques.org) from /etc/letsencrypt/renewal/peertube.designersethiques.org.conf produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/peertube.designersethiques.org/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/peertube.designersethiques.org/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Running post-hook command: systemctl start nginx
Hook command "systemctl start nginx" returned error code 1
Error output from systemctl:
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
J’ai donc l’erreur suivante qui apparait : Attempting to renew cert (peertube.designersethiques.org) from /etc/letsencrypt/renewal/peertube.designersethiques.org.conf produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6.. Skipping.
Et je ne sais pas vraiment que faire pour la résoudre…
Auriez-vous une idée du problème ?
Merci d’avance pour votre aide !
Karl