How to Get Free HTTPS on Any Site with Let’s Encrypt and Certbot

Date:

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.

The short answer: Two open tools give any site free HTTPS. Let’s Encrypt is a free, automated certificate authority (backed by the ISRG) that issues domain-validated SSL/TLS certificates, valid for 90 days. Certbot (from the EFF) obtains, installs, and auto-renews those certificates on your web server. Install Certbot, run it once, and its renewal timer keeps the certificate valid indefinitely. The short 90-day life is a feature, not a chore, because renewal is automatic.

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.

Free HTTPS: issue, install, auto-renewThe short 90-day life is a feature — renewal is automatic
1 · Let's Encrypt issues

A free, automated certificate authority issues a domain- validated SSL/TLS certificate. Valid 90 days (deliberately short).

2 · Certbot installs

The EFF's client obtains the certificate and installs it into the web server (Apache/Nginx), configuring HTTPS for you.

3 · Auto-renew

A systemd timer / cron job renews the certificate before it expires — valid indefinitely, no manual work. Confirm once with renew –dry-run.

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:

  1. Install Certbot (or enable your host’s Let’s Encrypt integration).
  2. Run it once to obtain and install the certificate.
  3. 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.

Share post:

Subscribe

Popular

More like this
Related

WooCommerce Search by SKU or ISBN Finds Nothing? It Never Looks There

A shopper types the SKU from your catalog, or the ISBN printed on the back of a book, and gets "No products were found". The product is right there, and the number is on its page. Search simply never reads that part of the product.

Computer Slow but CPU and Memory Look Normal? Check the Handle Count

Chrome takes a minute to open, or doesn't open at all. Every click waits. You open Task Manager expecting to find the culprit, and it tells you everything is fine. Here is the number that isn't, and the fix that takes two minutes.

Kernel-Power 41 Tells You Your PC Restarted, Not Why

Your PC restarts with no blue screen, and the only clue is a critical event saying it didn't shut down cleanly. Here is how to get from that event to a short list of suspects.

Set Up WordPress SMTP Without a Plugin, Even on a Multisite Network

WordPress mail goes out as wordpress@ your domain, from the web server, and lands in spam. An SMTP plugin fixes that. So do about twenty lines of code, and on a network of sites the code can give every site its own mailbox and its own password.