Bonjour,
Le certificat a expiré, j’ai chercher à le mettre à jour comme je l’avais fait la dernière fois en lancant la commande
« docker run --rm --name letsencrypt -v « /opt/fab-manager/log:/var/log/letsencrypt » -v « /opt/fab-manager/letsencrypt/etc:/etc/letsencrypt » -v « /opt/fab-manager/letsencrypt/config:/letsencrypt-config » Quay -c « /letsencrypt-config/webroot.ini » certonly »
Voilà la réponse
Redirect target too long
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.
et ce que j’ai dans les logs de letsencrypt
2021-01-09 15:12:32,274:DEBUG:acme.client:Storing nonce: 0003-6w347BhfE41A3R-_IBS4196JNhwcnyYYUy2YwUII0I
2021-01-09 15:12:32,274:WARNING:certbot.auth_handler:Challenge failed for domain fablab.labhidouille.fr
2021-01-09 15:12:32,274:INFO:certbot.auth_handler:http-01 challenge for fablab.labhidouille.fr
2021-01-09 15:12:32,275:DEBUG:certbot.reporter:Reporting to user: The following errors were reported by the server:
Domain: fablab.labhidouille.fr
Type: connection
Detail: Fetching URL_WITH_PROTOCOL_HTTPS/.well-known/acme-challenge/URL_WITH_PROTOCOL_HTTPS/.well-known/acme-challenge/URL_WITH_PROTOCOL_HTTPS/.well-known/acme-challenge/URL_WITH_PROTOCOL_HTTPS/.well-known/acme$
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 $
2021-01-09 15:12:32,275:DEBUG:certbot.error_handler:Encountered exception:
Traceback (most recent call last):
File « /opt/certbot/src/certbot/auth_handler.py », line 90, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File « /opt/certbot/src/certbot/auth_handler.py », line 154, in _poll_authorizations
raise errors.AuthorizationError(‹ Some challenges have failed. ›)
AuthorizationError: Some challenges have failed.
2021-01-09 15:12:32,275:DEBUG:certbot.error_handler:Calling registered functions
2021-01-09 15:12:32,275:INFO:certbot.auth_handler:Cleaning up challenges
2021-01-09 15:12:32,275:DEBUG:certbot.plugins.webroot:Removing /etc/letsencrypt/webrootauth/.well-known/acme-challenge/W43H_NrdFXwJeGXvOErAxlekhbqLxqrFObCWSKHx41g
2021-01-09 15:12:32,275:DEBUG:certbot.plugins.webroot:All challenges cleaned up
2021-01-09 15:12:32,275:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File « /opt/certbot/venv/bin/certbot », line 11, in
load_entry_point(‹ certbot ›, ‹ console_scripts ›, ‹ certbot ›)()
File « /opt/certbot/src/certbot/main.py », line 1379, in main
return config.func(config, plugins)
File « /opt/certbot/src/certbot/main.py », line 1262, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File « /opt/certbot/src/certbot/main.py », line 115, in _get_and_save_cert
renewal.renew_cert(config, domains, le_client, lineage)
File « /opt/certbot/src/certbot/renewal.py », line 307, in renew_cert
new_cert, new_chain, new_key, _ = le_client.obtain_certificate(domains, new_key)
File « /opt/certbot/src/certbot/client.py », line 349, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File « /opt/certbot/src/certbot/client.py », line 385, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File « /opt/certbot/src/certbot/auth_handler.py », line 90, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File « /opt/certbot/src/certbot/auth_handler.py », line 154, in _poll_authorizations
raise errors.AuthorizationError(‹ Some challenges have failed. ›)
AuthorizationError: Some challenges have failed.
Pourquoi alors que cela avait fonctionné la dernière fois est-ce en erreur ?
Existe-t-il un moyen de mettre à jour ce certificat automatiquement comme je le fais sur mes autres serveurs avec Certbot dans un cron.
Merci d’avance de votre réponse