Skip to main content

Let's Encrypt

Updated: October 30, 2026
By Willya Randika

Let's Encrypt is a certificate authority that issues free SSL/TLS certificates through the ACME protocol. What makes it work is not a signup form but automated validation that you control the hostname, usually finished in seconds.

How ACME validates

For the HTTP-01 challenge, the ACME client drops a token file at a special path in the web root, and the CA fetches it over port 80. That means port 80 must be reachable and must not be redirected fully away from the challenge path. If you force a redirect to HTTPS or run a rewrite rule that strips /.well-known/acme-challenge/, validation fails. Make sure the document root where the file is written is the one the web server actually serves, and confirm the hostname you requested really points at this machine. The token is only valid briefly, so do not block the well-known directory with a WAF rule or robots.txt.

90-day lifetime and the renewal window

A Let's Encrypt certificate lasts 90 days, not because it is weak, but to keep key lifetimes short and push everyone toward automation. Clients like certbot normally renew when about 30 days remain. The command is simple.

certbot renew

On many cPanel hosts the panel renews for you. What you must keep alive is the cron or systemd timer that runs the renewal without erroring, because a cert that fails to renew triggers a sudden browser warning. When a panel renewal fails, many hosts email a warning, but do not rely on that as your only signal.

When to switch to DNS-01

HTTP-01 needs a clean port 80. If the server sits behind a proxy that does not forward the challenge path, if port 80 is blocked, or if you are issuing for a hostname that is not publicly routable, use DNS-01. It proves domain control with a TXT record in your DNS records, and it is the only route for a Wildcard SSL. Because DNS-01 touches the registrar, keep the DNS API credential with the smallest permissions it needs.

The trap after renewal

A renewal can succeed while the site still serves the old certificate. The reason is that the web server was not reloaded. Certbot writes the new files, but nginx or Apache still holds the old key pair in memory until it reloads. After a manual renew, run a reload, then verify the chain with openssl s_client -connect hostname:443. Extra hostnames on addon domains need their own issuance and do not renew automatically.

FAQ

Is a free certificate less secure?

For transport encryption, a Let's Encrypt DV cert matches any paid DV cert. The difference is organization validation and commercial extras, not cipher strength.

Why does issuance fail?

Port 80 is blocked, a redirect strips the challenge path, DNS does not point here yet, or you hit a CA rate limit.

Do I need a wildcard for every subdomain?

Wildcards only issue over DNS-01, and not every shared panel exposes that flow. When you have only a few subdomains, separate per-hostname certs are usually simpler.

Disclaimer: Hosting Wiki articles are prepared for educational and reference purposes. Hosting technology keeps evolving, so some technical details may change over time.