SSL/TLS Certificates Explained: Let's Encrypt, Renewals and Common Mistakes
What the padlock actually means, why certificates expire, how free Let's Encrypt certificates work, and the mistakes that cause 'Your connection is not private' errors.
By DevOpsCommand Engineering · · 2 min read

An expired certificate is one of the most common and most avoidable causes of a website going "down". Visitors see a full-page browser warning, payments stop and email from your domain may fail. Here is how certificates work and how to make sure yours never lapse.
What a certificate does
A TLS certificate (still widely called SSL) does two jobs. It encrypts the connection between the visitor and your server, so passwords and card details cannot be read in transit. And it proves identity: a trusted certificate authority has checked that whoever requested the certificate controls the domain. The padlock means the connection is private and you are talking to the real domain. It does not mean the business behind the site is trustworthy.
Why certificates expire
Short lifetimes limit the damage if a private key is stolen and force automation. Public certificates are currently valid for at most 398 days, and the industry has agreed to cut this in stages to 47 days by 2029. Manual renewal is no longer realistic. If your renewal process involves a calendar reminder, it needs to change.
Let's Encrypt: free and automated
Let's Encrypt issues free domain-validated certificates that last 90 days. A client such as Certbot, acme.sh or the one built into Caddy or Traefik proves you control the domain and renews automatically, usually 30 days before expiry. For most websites and APIs this is all you need. Paid certificates mainly add organisation validation, warranties or support; they are not more secure in terms of encryption.
The mistakes that cause outages
- Renewal runs but the web server never reloads, so it keeps serving the old certificate. Add a deploy hook that reloads Nginx or Apache after renewal.
- Port 80 blocked by a firewall, breaking the HTTP-01 challenge. Either allow it or use a DNS-01 challenge.
- Missing intermediate certificate. The site works in some browsers and fails in others or in mobile apps. Always serve the full chain (
fullchain.pem). - Forgotten subdomains:
www,api,mailor a staging site with its own certificate that nobody monitors. - Certificates on other systems: load balancers, CDNs, mail servers and payment callbacks (for example an M-Pesa callback URL) all need valid certificates too.
A good HTTPS setup in five steps
- Automate issuance and renewal with an ACME client, and test it with a dry run (
certbot renew --dry-run). - Redirect all HTTP traffic to HTTPS.
- Allow only TLS 1.2 and 1.3, and disable old cipher suites.
- Enable HSTS once you are confident everything works over HTTPS.
- Monitor expiry externally, with an alert at least 14 days before any certificate expires. Monitoring catches the cases automation misses.
Check yours now
Free tools such as SSL Labs' server test grade your configuration in a minute. If you get anything below an A, or you are not sure which of your systems have certificates, we can audit your setup and automate renewals as part of our security and server management services.