Certbot

5.5.0 · active · verified Sat Apr 11

Certbot is an easy-to-use ACME client developed by the EFF, designed to automate the process of obtaining and renewing free SSL/TLS certificates from Certificate Authorities like Let's Encrypt. It simplifies the setup of HTTPS on web servers by automatically configuring popular servers like Apache and Nginx. Currently at version 5.5.0, Certbot maintains an active development cycle with regular releases, typically on a monthly or bi-monthly basis.

Warnings

Install

Imports

Quickstart

Certbot's primary interface is the command line. These examples show how to obtain and install a certificate for Nginx, obtain a certificate using the webroot method, and perform a renewal. For full automation, `certbot renew` is typically scheduled via a cron job.

# To obtain and install a certificate for example.com using the Nginx plugin:
sudo certbot --nginx -d example.com -d www.example.com

# To obtain a certificate without installing it (e.g., for manual setup):
sudo certbot certonly --webroot -w /var/www/html -d example.com

# To renew all certificates automatically (typically run via cron):
sudo certbot renew --dry-run # Test renewal without actual changes
sudo certbot renew

view raw JSON →