certbot
The Let's Encrypt Agent for automatically obtaining and renewing TLS certificates. Successor to `letsencrypt`.
More info →Options (2)
-w, --webroot-pathbooleanObtain a new certificate via webroot authorization, but do not install it automatically
sudo certbot certonly --webroot {{[-w|--webroot-path]}} {{path/to/webroot}} {{[-d|--domain]}} {{subdomain.example.com}}-d, --domainbooleanObtain a new certificate via webroot authorization, but do not install it automatically
sudo certbot certonly --webroot {{[-w|--webroot-path]}} {{path/to/webroot}} {{[-d|--domain]}} {{subdomain.example.com}}Examples (6)
Obtain a new certificate via webroot authorization, but do not install it automatically
Obtain a new certificate via `nginx` authorization, installing the new certificate automatically
Obtain a new certificate via apache authorization, installing the new certificate automatically
Renew all Let's Encrypt certificates that expire in 30 days or less (don't forget to restart any servers that use them afterwards)
Simulate the obtaining of a new certificate, but don't actually save any new certificates to disk