Repository navigation
CLI/config fixes - #440
CLI/config fixes#440
Conversation
|
The new output helps somewhat, but I still don't understand what |
|
They do indicate:
|
|
Ah, I feel silly for having missed that - I was focusing on the text for Is |
Conflicts: letsencrypt/cli.py letsencrypt/client.py letsencrypt/interfaces.py
…fig-fixes Conflicts: letsencrypt/cli.py letsencrypt/constants.py letsencrypt/interfaces.py
|
@schoen, I have now merged it with the current renewer-enabled |
…fig-fixes Conflicts: letsencrypt/constants.py letsencrypt/interfaces.py
|
In the meantime I fixed #451, as well as limited path flags to |
|
I believe this also fixes #456. |
|
As requested, |
…fig-fixes Conflicts: letsencrypt/cli.py
…fig-fixes Conflicts: letsencrypt_apache/constants.py letsencrypt_nginx/constants.py
Inspired by quite popular [1] letsencrypt-nosudo [2] by @diafygi. Together with certbot#440 and certbot#473, it allows Let's Encrypt to be used without sudo (root) on the target machine (c.f. [3]). Possibly fixes certbot#500. [1] https://news.ycombinator.com/item?id=9707170 [2] https://github.com/diafygi/letsencrypt-nosudo [3] https://groups.google.com/a/letsencrypt.org/forum/#!topic/client-dev/JAqxSvXlln4
…fig-fixes Conflicts: letsencrypt_apache/tests/util.py letsencrypt_nginx/tests/util.py
…fig-fixes Conflicts: letsencrypt/constants.py
Dynamic dirs based on --config-dir and --work-dir (#440 without touching CLI)
Additonally: - remove "-s", it will not be used often - remove --accountkey (former --authkey), as it is not used - CLI_DEFAULTS: cert_path -> auth_cert_path, chain_path -> auth_chain_path - remove remaining "LetsEncrypt" error prefixes (fixes certbot#487). - HeplfulParser: - call add_plugin_args from outside (this makes sure plugins are displayed last in --help all)
Null installer, integration tests for install/run, backport #440 CLI changes, fix --help all.
certifi 2026.10.19 removes the emSign roots after the eMudhra intermediate CA compromise (certifi/python-certifi#437, #440). The pin in `tools/requirements.txt` is still on 2026.7.22, which trusts those roots. Since `tools/pip_install.py` uses this file as the pip constraint, the published `certbot/certbot` and `certbot/dns-*` Docker images ship the old bundle, and ACME requests made through `requests` still accept chains issued by the compromised intermediates. This only bumps the certifi line. Happy to run a full repin with `tools/pinning/current/repin.sh` instead if you prefer. How to check: inside the current `certbot/certbot:latest` image, `python -c "import certifi; print(certifi.__version__)"` prints 2026.07.22, and a TLS connection to `dv-g3b-emudhra.we-have-a-problem.com` (a test site served by one of the affected intermediates) verifies against `certifi.where()`.
Having global
IConfig.cert_path, IConfig.chain_path, IConfig.cert_diris confusing (which @jshaexperienced himself). This PR makes sure that
--cert-pathand--chain-pathare now subparser flags (and not globalIConfigparams), with better help message depending on whetherauth/runorinstallsubparser is invoked. @jsha, does it make more sense now?I have also:
--le-vhost-extto--apache-le-vhost-extas it was clearly plugin specific.cli.pyto make it more readable (adding some comments about the order of commands and its influence on--helpoutput), added more docs for plugin related flags.For the lazy: