HTTPS used to mean paying a certificate authority every year and renewing by hand. Now it’s free and automatic: Let’s Encrypt issues the certificate, Certbot installs and renews it, and after a one-time setup you never think about it again.
For years, HTTPS was gated behind paid certificates and annual manual renewals. Let’s Encrypt and Certbot removed both the cost and the toil, which is why encrypted connections are now the default across the web, and why there’s no reason for any site to run on plain HTTP.
A free, automated certificate authority issues a domain- validated SSL/TLS certificate. Valid 90 days (deliberately short).
The EFF's client obtains the certificate and installs it into the web server (Apache/Nginx), configuring HTTPS for you.
A systemd timer / cron job renews the certificate before it expires — valid indefinitely, no manual work. Confirm once with renew –dry-run.
Table of Contents
Let’s Encrypt: the free certificate authority
Let’s Encrypt is a nonprofit certificate authority that issues SSL/TLS certificates for free, so any site can serve HTTPS. What matters in practice:
- Free, domain-validated certificates: no cost, available to sites of any size.
- Automated issuance: designed to be requested and renewed by software, not a manual purchase.
- Wildcard certificates: secure a domain and all its subdomains with one certificate.
- 90-day validity: deliberately short, which pushes everyone toward automated renewal (below).
The short lifetime worries people new to it, but it’s the point: short-lived certificates limit the damage of a leaked key and force the renewal to be automatic, which is more reliable than a yearly reminder.
Certbot: the tool that does the work
Certbot, from the Electronic Frontier Foundation, is the open-source client that talks to Let’s Encrypt for you. It obtains the certificate, installs it into your web server config, and sets up automatic renewal, for Apache, Nginx and most stacks. On a typical Linux server:
# Install Certbot (example: Debian/Ubuntu with Nginx)
sudo apt install certbot python3-certbot-nginx
# Obtain + install a certificate and configure HTTPS in one step
sudo certbot --nginx -d example.com -d www.example.com
# Certbot installs a systemd timer / cron job; confirm auto-renewal works:
sudo certbot renew --dry-run
Code language: Bash (bash)
Many managed hosts and control panels ship Certbot (or their own Let’s Encrypt integration) built in, so enabling HTTPS can be a single toggle, with no shell required.
A 90-day certificate isn’t a chore; it’s what makes renewal automatic, and automatic is what makes it reliable.
Set it up once, then forget it
The whole point is that HTTPS stops being a recurring task:
- Install Certbot (or enable your host’s Let’s Encrypt integration).
- Run it once to obtain and install the certificate.
- Confirm auto-renewal with
certbot renew --dry-run. After that, Certbot’s timer renews the certificate well before each 90-day expiry, automatically.
Then verify the result. Load your site over https://, confirm the padlock, and check that HTTP redirects to HTTPS: the same things a modern web-protocol check looks for. If a check fails (mixed content, HSTS, a stale redirect), the fix-the-protocol-check guide walks through each gap.
Set HTTPS up once and it maintains itself — the failure mode isn’t renewal, it’s forgetting to set up auto-renewal.
The short version
Free HTTPS is two tools: Let’s Encrypt, a free automated certificate authority that issues 90-day SSL/TLS certificates, and Certbot (EFF), the client that obtains, installs, and auto-renews them on your server. Install Certbot, run it once (certbot --nginx -d yourdomain), and confirm renewal with certbot renew --dry-run; its timer then keeps the certificate valid indefinitely. Many hosts bundle this as a one-click option. The short 90-day validity is deliberate and harmless because renewal is automatic; verify with a padlock check and an HTTP→HTTPS redirect test.
Frequently Asked Questions
Is a free Let’s Encrypt certificate less secure than a paid one?
No. The encryption is the same; what differs is how much the certificate says about who you are. Let’s Encrypt issues domain-validated certificates, which prove you control the domain. Paid organization- or extended-validation certificates add a check of the business behind it, which some companies want for policy reasons, but they do not make the connection any stronger.
What happens if an automatic renewal fails?
Nothing breaks at once. Certbot renews well before the 90-day expiry, so a failed attempt leaves weeks for a later run to succeed. If renewals keep failing, the certificate eventually expires and visitors get a browser warning instead of the padlock. Run sudo certbot renew --dry-run after any server, DNS or firewall change, since that is usually what stops renewal from working.
Do I need a wildcard certificate to cover my subdomains?
Not necessarily. You can list each subdomain with its own -d flag and get one certificate that covers them all. A wildcard certificate makes sense when you have many subdomains or add new ones often. Let’s Encrypt issues wildcards only through a DNS challenge, so you need a way for Certbot to create a DNS record at your provider.