certbot
Let's Encrypt certificate management
TLDR
SYNOPSIS
certbot [options] command
DESCRIPTION
certbot is the official Let's Encrypt client for automatically obtaining and renewing free TLS/SSL certificates. It can configure web servers like Apache and Nginx automatically.Certificates are valid for 90 days. The renew command should be run regularly (typically via cron) to maintain valid certificates.
PARAMETERS
-d, --domain domain
Domain name for certificate-w, --webroot-path path
Webroot path for validation--nginx
Use nginx plugin--apache
Use apache plugin--dry-run
Test without saving--standalone
Use built-in web server for validation--test-cert
Use staging server (untrusted certificates)--non-interactive
Run without user interaction--agree-tos
Agree to terms of service-m, --email email
Email for account registration--preferred-challenges type
Preferred challenge type: http-01, dns-01, or tls-alpn-01--deploy-hook command
Command to run after successful certificate deployment (e.g., reload web server)
CONFIGURATION
/etc/letsencrypt/renewal/
Per-certificate renewal configuration files controlling automatic renewal behavior./etc/letsencrypt/cli.ini
Global certbot defaults for all certificate operations.
SUBCOMMANDS
certonly
Obtain certificate without installingrun
Obtain and install certificaterenew
Renew expiring certificatesrevoke
Revoke a certificatedelete
Delete a certificatecertificates
List installed certificates
CAVEATS
Webroot validation requires web server to be running. Rate limits apply on Let's Encrypt production servers. Restart web server after renewal for new certificates to take effect.
HISTORY
certbot was developed by the Electronic Frontier Foundation (EFF) and originally known as the Let's Encrypt client. Let's Encrypt launched in 2016 to provide free, automated TLS certificates.
