Web Security June 04, 2025 1 min read

SSL/TLS Configuration with Let's Encrypt

Set up free SSL certificates using Certbot and Let's Encrypt.

H
Hassan Ali
Site reliability engineer
373 views

Table of Contents

  • Loading table of contents...

Free SSL with Let's Encrypt

HTTPS is essential for security and SEO. Here's how to set it up.

Install Certbot

sudo apt install certbot python3-certbot-nginx

Get Certificate

# For Nginx
sudo certbot --nginx -d yourdomain.com -d www.yourdomain.com

# Auto-renewal test
sudo certbot renew --dry-run
{# Provenance for articles generated from a source document. Rendered here rather than stored in the body so it stays accurate and cannot be edited away, and so the sealed draft stays purely generated. #}

Related Articles

Discussion 0

No comments yet. Be the first to start the discussion!

Leave a Comment