Install and Auto-Renew HTTPS Certificates with Certbot + Nginx on Ubuntu 20.04

A walkthrough for using Certbot on Ubuntu 20.04 with Nginx to issue free Let's Encrypt HTTPS certificates and configure automatic renewal.

After setup:

  1. Nginx serves HTTPS correctly.
  2. Certificate renewal runs automatically.

Typical workflow:

  • install certbot and nginx plugin
  • request certificate
  • test auto-renew (certbot renew --dry-run)
记录并分享
Built with Hugo
Theme Stack designed by Jimmy