Let's Encrypt
Free, automated TLS certificates for websites.
Let's Encrypt is a certificate authority that issues free TLS certificates, the digital credentials that allow a website to serve pages over an encrypted HTTPS connection. Its certificates are trusted by mainstream browsers and operating systems, and the process of requesting and renewing them is largely automated through software clients. For many site owners, it has made encryption a default rather than a paid extra.
Encryption protects visitors from eavesdropping and tampering, and it is now expected for almost any public website. A certificate on its own is not enough, though. It must be installed correctly, renewed on time and kept private on the server. This guide looks at how the service works, where people run into trouble and how to use it responsibly.
How the automated process works
To issue a certificate, the authority needs proof that you control the domain. It usually checks this with a challenge that the client answers, such as placing a file on the web server or adding a record to DNS. Client software performs these steps and installs the certificate, which removes much of the manual effort that older certificates required.
Certificates have a short validity period by design, so renewal must happen regularly. Most clients schedule renewal automatically, but the schedule only helps if the server is running and the challenge can still be completed. A renewal that silently fails can leave a site showing warnings to visitors.
Wildcard certificates, which cover many subdomains, require DNS-based validation. This is more involved but useful for organisations with many services under one domain. Check the current documentation for the methods supported by your client before planning the setup.
Common pitfalls
A frequent problem is a firewall or redirect rule that blocks the validation request. If renewal fails, check that the challenge path is reachable from outside, and make sure a redirect from plain HTTP to HTTPS does not interfere with the process where the client expects a simple response.
Another issue is forgetting to reload the web server after a certificate is replaced. The new certificate may sit on disk while the server continues to present the old one. Configure the client to run a reload hook so that the change takes effect without manual steps.
Mixed content warnings occur when a secure page loads images or scripts over plain HTTP. The certificate is valid, but the page still falls short of full security, so audit your templates and content for insecure references after enabling HTTPS.
Keeping the private key safe
The private key is the secret half of the certificate. Store it with restricted file permissions, limit which users and processes can read it, and avoid copying it to places where it might be exposed, such as public repositories or shared backups without encryption.
Monitor expiry dates even when renewal is automated. A simple external check can alert you if a certificate is close to expiry, which provides a second line of defence against a silent failure.
If a private key is ever exposed, revoke the certificate and request a new one with a fresh key. Treat any suspected exposure seriously, and review how the key was stored so the same mistake does not recur.
Frequently asked questions
Are Let's Encrypt certificates trustworthy?
They are trusted by mainstream browsers and devices. The certificate proves control of the domain rather than the identity of a business, so it is a useful baseline but not a full verification of who runs the site.
How long do the certificates last?
They are valid for a short period, so they must be renewed regularly. Automated clients handle this in most setups, but you should still check that renewal is working.
Can I use it on any hosting provider?
It depends on the host. Some providers offer built-in support, while others let you install a client on your own server. Check the provider's documentation for how certificates are managed.
Listing details
- Type
- Recommended Services
- Category
- SSL
- Website
- https://letsencrypt.org
More recommended services
Namecheap
Domain registrar with hosting, email and SSL add-ons.
Visit site (opens in a new tab)