DevOps

How to Install Free Let’s Encrypt SSL (HTTPS) on Linux Server

LinuxSSLHTTPSLet's EncryptCertbotSecurity

How to Install Free Let’s Encrypt SSL (HTTPS) on Linux Server

Introduction

Let’s Encrypt provides free SSL/TLS certificates to secure websites with HTTPS. This guide explains how to install and configure SSL on a Linux server using Certbot.

Prerequisites

  • Linux server (Ubuntu 20.04+)
  • Domain name pointing to server IP
  • Sudo or root access
  • Nginx or Apache installed

Step 1 — Update System Packages

sudo apt update && sudo apt upgrade -y

Step 2 — Install Certbot

Nginx

sudo apt install certbot python3-certbot-nginx -y

Apache

sudo apt install certbot python3-certbot-apache -y

Step 3 — Obtain SSL Certificate

sudo certbot --nginx

or

sudo certbot --apache

Step 4 — Verify HTTPS

Visit:

https://yourdomain.com

Step 5 — Auto-Renew SSL

sudo certbot renew --dry-run

Conclusion

Your Linux server is now secured with free HTTPS using Let’s Encrypt.

Author

Marquefactory DevOps Team

Need help applying this?

Discuss your software idea, product roadmap, or internal system

If this article connects to a product idea, workflow problem, MVP plan, or custom platform requirement, we can help you turn it into a scoped delivery plan. MarqueFactory works with founders and businesses that need senior technical judgment, not just implementation tickets.

  • MVP planning and custom SaaS development
  • Web apps, mobile apps, and internal systems
  • Architecture, delivery roadmap, and build estimates
  • Senior-led product and engineering guidance

Related Services

If this topic connects to a real build, these are the pages most likely to help you evaluate fit, scope, and delivery approach.

Useful Tools

These free tools are useful on their own, and they also reflect the kinds of systems we help businesses turn into custom platforms.

Related Articles