Je peux lire des réponses en Anglais : oui
Mon nom de domaine est : mon.tk (accès restreint)
J’ai exécuté cette commande : sudo certbot renew --dry-run Elle a produit cette sortie :
Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator dns-cloudflare, Installer None
Renewing an existing certificate
Performing the following challenges:
dns-01 challenge for mon.tk
dns-01 challenge for mon.tk
Cleaning up challenges
Attempting to renew cert (mon.tk) from /etc/letsencrypt/renewal/mon.tk.conf produced an unexpected error: ‘code’. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/mon.tk/fullchain.pem (failure)
Mon serveur Web est (inclure la version) : Ubuntu 18.04.3 LTS Codename: bionic+ apache 2.4
Je peux me connecter à un shell root sur ma machine :oui
extrait du fichier log :
2020-04-26 07:37:43,211:DEBUG:certbot.main:certbot version: 0.31.0
2020-04-26 07:37:43,212:DEBUG:certbot.main:Arguments: [’-q’]
2020-04-26 07:37:43,213:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2020-04-26 07:37:43,222:DEBUG:certbot.log:Root logging level set at 30
2020-04-26 07:37:43,223:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-04-26 07:37:43,225:INFO:certbot.storage:Attempting to parse the version 0.37.1 renewal configuration file found at /etc/letsencrypt/renewal/mon.tk.conf with version 0.31.0 of Certbot. This might not work.
2020-04-26 07:37:43,232:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7f79b7853c19> and installer <certbot.cli._Default object at 0x7f79b7853c19>
2020-04-26 07:37:43,232:WARNING:certbot.renewal:Renewal configuration file /etc/letsencrypt/renewal/mon.tk.conf (cert: mon.tk) produced an unexpected error: ‘Namespace’ object has no attribute ‘dns_cloudflare_credentials’. Skipping.
2020-04-26 07:37:43,234:DEBUG:certbot.renewal:Traceback was:
Contenu de /etc/letsencrypt/renewal/ mon.tk.conf
renew_before_expiry = 30 days
version = 0.31.0
archive_dir = /etc/letsencrypt/archive/mon.tk
cert = /etc/letsencrypt/live/mon.tk/cert.pem
privkey = /etc/letsencrypt/live/mon.tk/privkey.pem
chain = /etc/letsencrypt/live/mon.tk/chain.pem
fullchain = /etc/letsencrypt/live/mon.tk/fullchain.pem
Options used in the renewal process
[renewalparams]
account = b121b3a30a93e7b21a…
authenticator = apache
installer = apache
server = https://acme-v02.api.letsencrypt.org/directory
certbot --version || /path/to/certbot-auto --version
’ resultat : cerbot 0.37.1’
sudo certbot certificates
Found the following certs:
Certificate Name: mon.tk
Domains: mon.tk *.mon.tk
Expiry Date: 2020-05-10 10:09:41+00:00 (VALID: 11 days)
Certificate Path: /etc/letsencrypt/live/mon.tk/fullchain.pem
Private Key Path: /etc/letsencrypt/live/mon.tk/privkey.pem
Bonjour à tous,
Rien qu’a lire les lignes du dessus vous avez compris le problème : renouvellement du certificat impossible… j’ai observé que dans mon /etc/letsencrypt/accounts/ il y avait deux “account”
J’ai trouvé quelqu’un qui avait un problème similaire :
mais je suis dubitatif et je ne suis pas sûr de la bonne manip.
Faut-il d’abord régler les problèmes de versions de cerbot 0,37 et 0,31 qui apparaissent dans les logs ?
Merci pour votre aide