Skip to content
Guest
Cloud & DevOps · Course Syllabus Show lessons
Nginx & HTTPS · 8 min read · Intermediate

Free HTTPS with Let's Encrypt & Certbot

Enable automatic HTTPS redirects, TLS 1.2/1.3, and hands-free 90-day certificate renewal.

What you'll learn

  • Automate TLS provisioning with Certbot and Nginx
  • Redirect all HTTP port 80 requests to HTTPS with `301`
  • Monitor SSL expiry dates proactively

Overview

Enable automatic HTTPS redirects, TLS 1.2/1.3, and hands-free 90-day certificate renewal.

Code Example

# Issue and install HTTPS certificate for Nginx
certbot --nginx -d devpath.jpsoriano.dev

# Verify automatic renewal works cleanly
certbot renew --dry-run

Key Takeaways

  • Automate TLS provisioning with Certbot and Nginx
  • Redirect all HTTP port 80 requests to HTTPS with 301
  • Monitor SSL expiry dates proactively

Quick Check

Check Your Understanding

Score: 0 / 1

1. How often do Let's Encrypt certificates expire if not renewed?

Study Workspace

Finished this lesson?

Your progress is saved locally in your browser, no account needed.

Search courses, lessons, and references

Type to search across all courses, lessons, and quick references.

Press Esc to close Powered by Pagefind