If you provide any service to the public over the internet, you need certificates. A certificate is what lets a browser encrypt its connection to your site and confirm it's really talking to you. Most people still call them "SSL certificates," even though the protocol today is TLS. If the topic is new to you, Cloudflare has a good explainer: What is an SSL certificate?
From "nice to have" to required
HTTPS has been around since the mid-1990s, but for a long time it was mostly used for shopping, banking and login pages. That shifted in the mid-2010s, and by 2018 Chrome was labeling every plain HTTP page "Not secure." That warning pushed certificates onto pretty much every public website.
Commercial certificates could be confusing and expensive. Certificate authorities like DigiCert, GlobalSign and GoDaddy are trusted by every browser, and for years they could charge more or less what they wanted.
Then came the Internet Security Research Group and its Let's Encrypt certificate authority. ISRG's mission is to protect internet users "by lowering monetary, technological, and informational barriers to a more secure and privacy-respecting Internet." Let's Encrypt gives certificates away for free, and it has done a lot to put HTTPS on every corner of the internet. The documentation is excellent, the community forums are active, and tutorials are everywhere.
It is more work up front than buying a certificate from a commercial provider. In the long run, it's worth it.
The renewal that changed everything
We used a GoDaddy wildcard certificate across a range of our services. We knew the request-and-replace routine well, and on our Windows servers it was tedious.
At this year's renewal, we were told about a change: the new certificate would be valid for 200 days, not 13 months. And it gets shorter from there. Under rules adopted by the CA/Browser Forum, the industry group that sets them, the maximum lifetime of a public certificate drops on a fixed schedule:
| Issued on or after | Maximum validity |
|---|---|
| March 15, 2026 | 200 days |
| March 15, 2027 | 100 days |
| March 15, 2029 | 47 days |
There was no way we could keep replacing certificates by hand on every server as that schedule tightened. We had to automate, and soon: 200 days until our next renewal, and less than a year until renewals dropped to 100 days.
ACME, and finding a client for Windows
Let's Encrypt doesn't have a website where you request certificates. Everything goes through ACME (Automatic Certificate Management Environment), a protocol designed for automation from the start. That's different from anything you've done with a commercial provider, and it's exactly what you want when certificates only last a few months.
You need an ACME client. Let's Encrypt keeps a list of clients and recommends Certbot, which is very popular but doesn't fit well on Windows. As I've said before, we're mostly a Microsoft shop, so I went looking for something that does.
I found a couple of good paid options. Certify The Web has a great interface and is very easy to use, and I'd recommend it if you're not comfortable with the command line or certificates. The price is modest for simple setups, but ours is complicated enough that it would have added up. I wanted a free proof of concept, and I didn't want to accidentally run past the evaluation period, so I kept looking.
The one that stood out was win-acme. It runs on Windows, it's free, and it works with IIS, Apache and Exchange.
Proving you own the domain
Before Let's Encrypt issues a certificate, you have to prove you control the domain. Its How It Works page explains the details. There are two common methods:
- HTTP-01: The client puts a challenge file on your web server, and Let's Encrypt fetches it over port 80. This is usually the easiest, since the client already runs on the server. The downside is that port 80 has to be open to the internet.
- DNS-01: The client creates a TXT record in your public DNS, and Let's Encrypt looks it up. Nothing new needs to be open to the internet, which makes it the more secure option. But the client needs permission to change your public DNS, which can be harder depending on who hosts it. Most ACME clients have plugins for the popular DNS providers, so check that yours is covered.
One thing that matters if you're replacing a wildcard like we were: wildcard certificates can only be validated with DNS-01. With HTTP-01 you get a certificate for each name instead. Beyond that, pick the method that fits your environment and your comfort level.
The proof of concept
I installed win-acme and followed the documentation, which was easy to follow. Getting a certificate for one of our test web servers took very little effort. Then I waited to see whether renewals worked.
Let's Encrypt certificates have been valid for 90 days, and win-acme renews them after 55. After my 55-day wait, the certificate renewed on its own. We were in business, and I rolled it out to more of our web servers. Every site was now on a Let's Encrypt certificate instead of the GoDaddy one.
Wait, is this still maintained?
While setting up the other servers, I checked for a newer version of win-acme, because the files I had were a couple of years old. That gave me pause. Did I want to bet our public services, email included, on a project that might not be maintained anymore? If it quietly stopped working, everything would break the day the certificates expired.
At least win-acme bought me time. Back to searching. I was leaning toward paying for Certify The Web when I found simple-acme, the direct continuation of win-acme, which now supports Linux too. The story of how win-acme became simple-acme is worth reading; you can feel how much the developer cares about the project.
Because it continues straight from win-acme, upgrading in place on each server was easy. The documentation is even better than before, and there are plugins for advanced options like validation methods, certificate signing requests and certificate store locations. If you go the DNS-01 route, check its list of supported DNS providers.
About fifty days later, every web server and site was on Let's Encrypt certificates, and they were all renewing automatically.
Will shorter lifetimes break it?
The shrinking limits in the table above apply to commercial certificates, and Let's Encrypt is shortening its own too. ISRG has announced its schedule: the default drops from 90 days to 64 days in February 2027 and 45 days in February 2028.
A fixed 55-day renewal will be fine for 64-day certificates, if a bit tight, but it will not work for 45-day certificates. They would expire before renewing. Let's Encrypt's advice is not to rely on a fixed interval, and to use ACME Renewal Information (ARI) instead, which lets the certificate authority tell your client when to renew. simple-acme supports ARI. Before 2028, check your renewal settings and confirm renewals follow the suggested window rather than a fixed number of days. And monitor it: an expiry warning on a status board, like the Uptime Kuma setup I wrote about, is a cheap safety net.
One more wrinkle: HTTP-01 and geoblocking
If you validate with HTTP-01 and geoblock inbound traffic at your firewall, you'll run into another problem. Let's Encrypt doesn't publish where its validation requests come from, for good reasons. You may remember the geoblocking story from an earlier post. I'll cover how those two interact in a future post.
Do it
Put your services on HTTPS with Let's Encrypt. It's free, it's well supported, and once it's automated, the shrinking certificate lifetimes stop being a problem. Here's to a safer, more private internet.
Checklist
- List every public-facing name that needs a certificate, and the server or appliance behind it
- Pick an ACME client that runs where your certificates are used
- Choose a validation method: HTTP-01 (port 80 open) or DNS-01 (DNS API access, required for wildcards)
- Test on a non-production server and wait for at least one automatic renewal
- Confirm renewals follow ARI or the certificate's lifetime, not a fixed number of days
- Monitor certificate expiry independently of the client
- Check that your client is still maintained, at least once a year