Certbot
$ certbot Official Med Riskcertbot automates issuing, installing, and renewing Let's Encrypt TLS certificates via HTTP-01 or DNS-01 challenges. It provides strong non-interactive (-n / --non-interactive) and --dry-run staging flags for safe testing, though it emits plain text rather than JSON and often needs elevated permissions.
brew install certbot Host TLS certificate lifecycle client managing local /etc/letsencrypt/ files and port-80/DNS challenges.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Mature --non-interactive (-n) and --dry-run flags prevent hanging or hitting rate limits, though output is human-formatted prose without a --json flag.
- Explicit
--non-interactiveand--dry-runflags onrenew/certonly - No
--jsonoutput mode; text output only
--dry-run tests against Let's Encrypt staging servers without mutating /etc/letsencrypt/live, though live issuance can hit CA rate limits or alter NGINX/Apache configs if installer plugins are used.
--dry-run/--stagingsafe simulation- Installer plugins can modify local web server configs
Available via Homebrew, snap, and pip on Linux and macOS, but official Windows support was discontinued.
- Python runtime dependency; Linux and macOS only
Automates ACME issuance and systemd/cron renewals reliably across dozens of DNS plugins.
- Rich ecosystem of DNS-01 plugins and auto-renewal hooks
Official Electronic Frontier Foundation (certbot/certbot) project under Apache-2.0.
- Maintained by EFF under Apache-2.0
Clear ReadTheDocs manual covering flags, plugins, and rate limits.
- Detailed CLI docs at eff-certbot.readthedocs.io
Security, Auth & Guardrails
Stores ACME account keys and issued certificates in /etc/letsencrypt/ (configurable via --config-dir); DNS plugins read provider API credentials from .ini files or env vars.
Apache-2.0 open-source by EFF; Let's Encrypt certificates are free (subject to ACME rate limits).
# Certbot Agent Rules - Always pass `-n` / `--non-interactive` so Certbot never blocks on interactive prompts. - Test changes with `--dry-run` or `--staging` first to avoid Let's Encrypt production rate limits. - Keep DNS credential `.ini` files `chmod 600` and never print private keys.
Agent-Ready Command Recipes
Safe Read-Only Queries
certbot certificates --non-interactive
Displays configured domains, expiry dates, and key paths without renewing or modifying certificates.
certbot renew --dry-run --non-interactive
Tests ACME renewal end-to-end against Let's Encrypt staging servers without overwriting live certs.
Controlled Writes & Previews
certbot certonly --non-interactive --agree-tos -m [email protected] --webroot -w /var/www/html -d example.com
Issues a certificate using explicit --non-interactive, --agree-tos, and webroot flags without prompts.
Strengths for Agents
- + Battle-tested
--dry-runvalidates renewals against staging ACME servers safely. - + Explicit
--non-interactive(-n) prevents TTY prompts in automation. - + Extensive DNS-01 and webroot plugin support.
Caveats & Pitfalls
- ! No
--jsonoutput format; agents must parse plain-text certificate reports. - ! Default directories (
/etc/letsencrypt) typically require root or custom--config-dir/--work-dir/--logs-dirflags.