Let's Encrypt is a free, automated, and open certificate authority (CA) operated by the non-profit Internet Security Research Group (ISRG). It issues X.509 digital certificates for Transport Layer Security (TLS) encryption at no cost, enabling website owners to transition from plain HTTP to encrypted HTTPS connections. By replacing manual certificate purchasing and installation with programmatic workflows, it has become the standard baseline for securing modern web infrastructure.
How it works
Let's Encrypt relies on the Automated Certificate Management Environment (ACME) protocol to verify domain control and issue certificates without human intervention. An ACME client installed on your server—most commonly Certbot, acme.sh, or built-in integrations in reverse proxies like Caddy and Traefik—communicates directly with the Let's Encrypt API.
To prove you control the domain, the CA requires the client to solve a cryptographic challenge:
- HTTP-01 challenge: The client places a specific token file inside
/.well-known/acme-challenge/on your web server, which Let's Encrypt verifies over port 80. - DNS-01 challenge: The client creates a specific TXT record in your domain's DNS zone. This method is required for wildcard certificates (such as
*.example.com) or servers not directly exposed to the public internet.
Once verified, the ACME client generates a local public/private key pair, submits a Certificate Signing Request (CSR), and downloads the signed certificate. All issued certificates are logged publicly in Certificate Transparency (CT) logs for security auditing. Each certificate carries a 90-day lifespan, which limits the damage of a compromised key and ensures administrators rely on automated renewal scripts rather than manual calendar reminders.
Example
On a standard Linux server running Nginx, you can install Certbot, obtain a certificate via the HTTP-01 challenge, and automatically update your virtual host configuration with a single command:
sudo certbot --nginx -d example.com -d https://www.example.com
Certbot configures the SSL directives in Nginx, sets up an HTTP-to-HTTPS redirect, and installs a systemd timer or cron job that checks for upcoming expirations twice daily. For a deeper walkthrough of server preparation and edge cases, see our Let's Encrypt Install Tutorial: Step-by-Step SSL Guide for VPS.
What matters when choosing a server or hosting
Before selecting a hosting environment, check how it handles ACME automation. On unmanaged virtual private servers (VPS) or dedicated hardware, you have full root access to install any ACME client, open ports 80 and 443, and customize renewal hooks—a setup covered in our Let's Encrypt Install Tutorial: Hard-Won Data for Sysadmins.
On shared hosting or managed platforms, verify whether native Let's Encrypt integration is included in the control panel (such as cPanel or Plesk) without extra fees. If you use a CDN or reverse proxy in front of your origin server, ensure your DNS provider offers an API supported by your ACME client so DNS-01 renewals run unattended without proxy interference.
Common mistakes
- Blocking port 80 permanently: The HTTP-01 challenge requires incoming traffic on port 80. Blocking it at the firewall level breaks renewals; instead, keep port 80 open and redirect standard traffic to port 443.
- Hitting rate limits during testing: Let's Encrypt enforces strict issuance rate limits per registered domain. Always test new configurations against the staging environment using the
--stagingflag before requesting production certificates. - Forgetting service reloads after renewal: Obtaining a renewed certificate file on disk does nothing until the web server reloads its configuration. Always verify that your renewal pipeline triggers a graceful reload (such as
systemctl reload nginx), as detailed in our Let's Encrypt Installation: Hard-Won Data on SSL Automation.
FAQ
Does Let's Encrypt offer Organization Validation (OV) or Extended Validation (EV) certificates?
No. Let's Encrypt only issues Domain Validation (DV) certificates. Because OV and EV certificates require manual verification of legal business documents, they cannot be issued through a fully automated protocol.
Are free Let's Encrypt certificates less secure than paid SSL certificates?
No. The cryptographic strength of the TLS handshake depends on your server's key size, cipher suites, and protocol configuration—not the price of the certificate. A free Let's Encrypt certificate provides the exact same encryption level as a commercial DV certificate.
Can I use Let's Encrypt for internal or local servers?
Yes, provided the server uses a publicly registered domain name. You can use the DNS-01 challenge to prove domain ownership via your public DNS provider without ever exposing the internal server's IP address to the internet.