Ravi Sir's Cyber Security Cards › Revision Cards
HTTPS with Certbot (Let's Encrypt)
HTTPS with Certbot (Let's Encrypt) Certbot gets free HTTPS certificates from Let’s Encrypt and sets them up for you. Without HTTPS, anyone on the same Wi-Fi can read logins and steal cookies. Also redirect all HTTP to HTTPS, and set cookies with the Secure flag. “Timeout during connect” → running Ce

Read card text
What this card says
What it is
Certbot gets free HTTPS certificates from Let’s Encrypt and sets them up for you.
Why it matters for security
Without HTTPS, anyone on the same Wi-Fi can read logins and steal cookies.
Also redirect all HTTP to HTTPS, and set cookies with the Secure flag.
Common mistake
“Timeout during connect” → running Certbot again and again hits Let’s Encrypt’s limits.
First check DNS and that port 80 is open.
Renewal
Certificates last only 90 days. Test auto-renewal: sudo certbot renew --dry-run.
Learn more in the lesson: 13.4 HTTPS with Certbot (Let's Encrypt)