TLS Certificate Lifetimes Will Officially Reduce to 47 Days

a year ago by exu to c/technology

The CA/Browser Forum has officially voted to amend the TLS Baseline Requirements to set a schedule for shortening both the lifetime of TLS certificates.
mctoasterson 84 points a year ago

The most-aggressively short timelines don't apply until 2029. Regardless, now is the time to get serious about automation. That is going to require vendors of a lot of off-the-shelf products to come up with better (or any) automation integrations for existing cert management systems or whatever the new standard becomes.

The current workflow many big orgs use is something like:

  1. Poor bastard application engineer/support guy is forced to keep a spreadsheet for all the machines and URLs he "owns" and set 30-day reminders when they will expire,

  2. manually generate CSRs,

  3. reach out to some internal or 3rd party group who may ignore his request or fuck it up twice before giving him correct signed certs,

  4. schedule and get approval for one or more "possible brief outage" maintenance windows because the software requires manually rebinding the new certs in some archaic way involving handjamming each cert into a web interface on a separate Windows box.

As the validity period shrinks and the number of environments the average production application uses grows, the concept of doing these processes manually becomes a total clusterfuck.

path: 0 16503185, hotness: undefined, score: 84, children: 17
hemmes 41 points a year ago

Can confirm, am poor bastard.

path: 0 16503185 16504957, hotness: undefined, score: 41, children: 1
mac 1 point a year ago

Can you not write a script to automate a lot of this?

path: 0 16503185 16504957 16520864, hotness: undefined, score: 1, children: 0
exu 22 points a year ago

Looking forward to companies hiring "Cert Engineers" who just renew certs all day.

Joking aside, it really is time to deploy automation for those that haven't already

path: 0 16503185 16504397, hotness: undefined, score: 22, children: 3
HarkMahlberg 8 points a year ago

That was a joke? Nice try Nostradamus, I know you can see the future.

path: 0 16503185 16504397 16505836, hotness: undefined, score: 8, children: 2
Archer 2 points a year ago

They’ll add AI to it somehow

path: 0 16503185 16504397 16505836 16520601, hotness: undefined, score: 2, children: 1
HarkMahlberg 2 points a year ago

Which will get it wrong and leave expired/unsigned certs everywhere XD

path: 0 16503185 16504397 16505836 16520601 16527056, hotness: undefined, score: 2, children: 0
king_tronzington 17 points a year ago

I'm that poor bastard engineer at my company. This likely will be the push we need to prioritize automation. Dealing with manual renewals with Digicert has been a pain in the ass. If anyone has experience with their automated option I'd love to hear it.

path: 0 16503185 16504037, hotness: undefined, score: 17, children: 7
corsicanguppy 6 points a year ago

manual renewals with Digicert has been a pain in the ass. If anyone has experience with their automated option I’d love to hear it.

Aren't they RFC8555-compatible?

Yep, seems so:

ACME Directory URLs – Get certificate-level automation for Extended Validation (EV) and Organization Validated (OV) certificates. Manage multiple ACME clients, running on Windows or Linux so you can efficiently automate certificate delivery regardless of the quantity of certificates you’re managing. Improve the security of using ACME in your network through our CertCentral discovery sensors. The sensor is an extra layer of security, ensuring the ACME client doesn’t directly speak to an unsecure third party.

If you search for RFC8555 or ACME, you may find a tool you can use that may be compatible for renewing Digicert certs automatically.

I'd love to actually help, but honestly I knew the RFC offhand (correction; I was close but off) and googled the rest myself, so dragging the problem to ACME - like RFK dragging the carcass of a deer back to his sedan - is the best I can do for you today.

path: 0 16503185 16504037 16510896, hotness: undefined, score: 6, children: 0
Glitchvid 5 points a year ago

Ironically the shortening of cert lengths has pushed me to automated systems and away from the traditional paid trust providers.
I used to roll a 1-year cert for my CDN, and manually buy renewals and go through the process of signing and uploading the new ones, it wasn't particularly onerous, but then they moved to I think either 3 or 6 months max signing, which was the point where I just automated it with Let's Encrypt.

I'm in general not a fan of how we do root of trust on the web, I much prefer had DANE caught on, where I can pin a cert at the DNS level that is secured with DNSSEC and is trusted through IANA and the root zone.

path: 0 16503185 16504037 16505176, hotness: undefined, score: 5, children: 5
king_tronzington 4 points a year ago

I've proposed using Let's Encrypt but my coworkers believe there would be a perception issue with us using a "free" TLS certificate provider. I work for a popular internet search engine so it's a reasonable worry.

It just seems like LE has the most efficient automatic renewal setup, though I haven't looked in detail at other providers.

path: 0 16503185 16504037 16505176 16505502, hotness: undefined, score: 4, children: 4
patatahooligan 12 points a year ago

That sound weird to me. How big is the population of people who are technical enough to even check what certificate provider you are using but ignorant enough to think that let's encrypt is bad because it's free?

path: 0 16503185 16504037 16505176 16505502 16506701, hotness: undefined, score: 12, children: 2
corsicanguppy 3 points a year ago

LetsEncrypt also built ACME, so they're the primary port for testing RFC8555. They're just gonna work better at it.

But, as above, maybe Digi is still the way for you, with the right tooling glued in.

Good luck!

path: 0 16503185 16504037 16505176 16505502 16511002, hotness: undefined, score: 3, children: 0
dubyakay 2 points a year ago

I hate my life.

path: 0 16503185 16520296, hotness: undefined, score: 2, children: 0
baatliwala 2 points a year ago

Exactly how it works at mine, it's a pain 😭

path: 0 16503185 16520532, hotness: undefined, score: 2, children: 0
corsicanguppy 1 point a year ago

get serious about automation.

I'm relieved this post didn't mention Ansible. It's nice we've avoided the irony of mentioning Ansible in a post also mentioning 'serious' or 'modern'.

the concept of doing these processes manually becomes a total clusterfuck.

But it's a known clusterfuck compared to the scary unknown of certs (and the boulder app).

path: 0 16503185 16510692, hotness: undefined, score: 1, children: 0
UnsavoryMollusk 26 points a year ago

Nice, having to renew the EV cert and upload it every month manually to all our hardware load balancer will be a great pleasure ! Thank you Apple ! /s

path: 0 16511357, hotness: undefined, score: 26, children: 2
exu 17 points a year ago

EV certs are mostly bullshit in my opinion

path: 0 16511357 16512720, hotness: undefined, score: 17, children: 1
The_Decryptor 9 points a year ago

Yeah I think they're generally regarded as a mistake, browsers have removed all the UI signifying an EV cert these days.

path: 0 16511357 16512720 16520823, hotness: undefined, score: 9, children: 0
csh83669 24 points a year ago

My concern is basically that this forces people to use very expensive cert providers, since it is infeasible to setup and connect and secure an HSM that can do this yourself. And Microsoft and Amazon have tricked the browser forums that their online ones are good enough.

It essentially puts yet another monopoly into the “open” Web. The CA browser forum is a joke at this point and I don’t respect any of the decision in the last 10 years. They all serve to further centralize and close off the web.

People keep bringing up LetsEncrypt, but it very much cannot issue EV carts. It costs THOUSANDS of dollars to use a service that can auto renew “trusted certs”.

path: 0 16516304, hotness: undefined, score: 24, children: 1
InnerScientist 7 points a year ago

Why do you need EV certs?

path: 0 16516304 16520647, hotness: undefined, score: 7, children: 0
LedgeDrop 18 points a year ago

I have mixed feelings about this.

On one hand, I agree with the technical merits. Having an automated process to renew short lived tls certs is "a good thing" and I think services like Let's Encrypt have demonstrated such automation is viable (at large scale).

But, there are reasons why people pay money for tls Certs rather than use free (short lived) Certs. For example, there's a mom-and-pop webhosting company that allows you to upload your tls Certs (they cost < $25 / year) or you can pay them $95 / year to use their Certs (and they just use Let's Encrypt - lol)

The nearly 4x markup is their "convenience fee" or "dumb tax". Regardless, once the 45 day tls Certs are enforced, I'll have no choice in either paying their 4x markup or migrating to another platform.

... Having a choice is not always a bad thing...

path: 0 16510469, hotness: undefined, score: 18, children: 0
Tetsuo 12 points a year ago

I just hope that automation doesn't bring new vulnerabilities... Otherwise we get safer cert but poorly secured automated PKI to create the certs?

I mean if you have a fully automated cert deployment it could be months with a compromised system and you probably wouldn't see it.

I don't know how effective this will be. It still seems short even if it starts in 2029.

path: 0 16506626, hotness: undefined, score: 12, children: 2
sugar_in_your_tea 2 points a year ago

How does manual cert generation impact that?

My experience is that orgs that don't bother checking logs are also likely to buy long duration certs. And it's also frequently a simple FTP drop or something, they're not taking the time to actually verify things properly.

I also haven't seem evidence of attackers compromising certificates themselves, if they have the access to do that, they'll just steal the data they want or install some kind of backdoor for later use.

path: 0 16506626 16507788, hotness: undefined, score: 2, children: 1
Tetsuo 2 points a year ago

There is plenty of data on compromised certs. I mean if you steal a cert you essentially steal the identity of that server.

I'm just saying before that you had admins connecting from time to time to the server while deploying but after that change it could be years before someone connects. Cert deployment IMO is often one of the last maintenance that is not automated and one of the hardest to automate both safely and reliably.

But for a business that handles it that way it's just straight up an upgrade in security to have shorter certs.

path: 0 16506626 16507788 16509080, hotness: undefined, score: 2, children: 0
orclev 12 points a year ago

Get ready for a bunch more 1 and 2 day outages because someone forgot/missed the deadline to renew some crusty server somewhere. This is such massive overkill for most servers. End users should start getting used to that expired certificate warning in their browser of choice and the process to tell it to continue to the site anyway.

path: 0 16504513, hotness: undefined, score: 12, children: 1
corsicanguppy 6 points a year ago

End users should start getting used to that expired certificate warning in their browser of choice and the process to tell it to continue to the site anyway.

We already have a lot of this, and it's definitely gonna get worse. Is a security dance so convoluted that people are used to others just messing up really an effective process?

Given the biggest breaches were caused by default passwords and misconfigured S3 outhouses, are we focusing on the right stuff today?

path: 0 16504513 16511054, hotness: undefined, score: 6, children: 0
bacon_saber 9 points a year ago

Why 47 Days? 47 days might seem like an arbitrary number, but it’s a simple cascade:

200 days = 6 maximal month (184 days) + 1/2 30-day month (15 days) + 1 day wiggle room 100 days = 3 maximal month (92 days) + ~1/4 30-day month (7 days) + 1 day wiggle room 47 days = 1 maximal month (31 days) + 1/2 30-day month (15 days) + 1 day wiggle room

path: 0 16503994, hotness: undefined, score: 9, children: 4
myplacedk 15 points a year ago

Or just "1.5 months".

If it was 46 days, there will (arguably) be times where it's less than 1.5 months.

I guess the intention is automation that updates every month, leaving you with half a month to fix issues.

path: 0 16503994 16504585, hotness: undefined, score: 15, children: 0
trolololol 5 points a year ago

it's not arbitrary

Voice over: it is arbitrary

path: 0 16503994 16516682, hotness: undefined, score: 5, children: 0
boonhet 3 points a year ago

Simple cascade, but it goes from +15 to +7 to +15 lol

path: 0 16503994 16519925, hotness: undefined, score: 3, children: 0
myplacedk 1 point a year ago
path: 0 16503994 16504574, hotness: undefined, score: 1, children: 0
Naich 5 points a year ago

This seems sensible.

path: 0 16503085, hotness: undefined, score: 5, children: 0
shortwavesurfer 0 points a year ago

I think there's an argument to be made here of why are we trusting certificate providers anyway since that just adds another layer of centralization and a choke point for governments to attack. Why not use self-signed certificates and have each search engine indexer also index the certificate and point out how long it has been since it has changed so that you can trust whatever search engine you wish instead of these mega centralized providers of certificates. If kagi, google, ddg, and quant (for example) are all in agreement about the validity of a cert i feel its likely trustworthy. If they start disagreeing thats when it may be time to DYOR. Besides, TOFU is much easier to set up.

path: 0 16510042, hotness: undefined, score: 0, children: 2
corsicanguppy 3 points a year ago

Why not use self-signed certificates and have each search engine indexer also index the certificate and point out how long it has been since it has changed so that you can trust whatever search engine you wish instead of these mega centralized providers of certificates.

Freshness isn't an indicator of validity. The fence around the nearby park is decades old and with inspection and minor repairs is still viable; commercials on TV promising mail-order boner pills or vast riches from slots and roulette are relatively new.

path: 0 16510042 16510635, hotness: undefined, score: 3, children: 1
shortwavesurfer 1 point a year ago

Thats true.

path: 0 16510042 16510635 16510788, hotness: undefined, score: 1, children: 0
SoftestSapphic -12 points a year ago

Can we stop doing certs now?

Can we stop letting google decide what is and isn't acceptable on the internet based on who gave them money?

path: 0 16518420, hotness: undefined, score: -12, children: 10
JackbyDev 12 points a year ago

Certs are free through Let's Encrypt (and have been for quite some time now, like a decade). Certs makes people peeking at what you're doing along the route substantially more difficult.

path: 0 16518420 16519951, hotness: undefined, score: 12, children: 0
bane_killgrind 11 points a year ago

So how do we do trust if we don't have specific people to trust to issue trust

path: 0 16518420 16519156, hotness: undefined, score: 11, children: 7
SoftestSapphic -19 points a year ago

Just go to the website.

path: 0 16518420 16519156 16519603, hotness: undefined, score: -19, children: 6
bane_killgrind 11 points a year ago

What... Website???

path: 0 16518420 16519156 16519603 16519629, hotness: undefined, score: 11, children: 5
SoftestSapphic -18 points a year ago

The one you want to go to

path: 0 16518420 16519156 16519603 16519629 16519650, hotness: undefined, score: -18, children: 4
pogmommy 1 point a year ago

Miserable bait

path: 0 16518420 16520620, hotness: undefined, score: 1, children: 0
dan1101 -26 points a year ago

This will be a huge pain for the small business websites I administer, which really don't need SSL to begin with except to please Google.

path: 0 16504420, hotness: undefined, score: -26, children: 13
Rogue 33 points a year ago

If you're truly unaware of why TLS is necessary or how to automate the process then you should probably retire.

Archaic attitudes like yours are precisely why these restrictions are necessary.

path: 0 16504420 16504850, hotness: undefined, score: 33, children: 11
sugar_in_your_tea 8 points a year ago

Exactly. Setting up Let's Encrypt is really easy, and once it's set up, you don't have to think about it.

I did it for self-hosted stuff, and it's trivial. You can even do DNS challenge auth instead of HTTP and you don't need to have port 80 open at all, but you do need a login token for your DNS host for the script.

The first one will probably take an hour or two if it's your first time, and after that, it's maybe 5 min per site.

path: 0 16504420 16504850 16505371, hotness: undefined, score: 8, children: 9
paraphrand 5 points a year ago

Exactly. Setting up Let's Encrypt is really easy, and once it's set up, you don't have to think about it.

That’s what I thought. And now I need to figure out how to update it for 47 day cycles.

path: 0 16504420 16504850 16505371 16506938, hotness: undefined, score: 5, children: 1
sugar_in_your_tea 8 points a year ago

I have mine check daily, which is the default and is recommended. It only actually updates when it's close to renewal, so I never need to care how short the renewal period is.

path: 0 16504420 16504850 16505371 16506938 16507420, hotness: undefined, score: 8, children: 0
rbos 3 points a year ago

Not all DNS hosts support that. Webnames.ca, looking at you...

Also my workplace hosts their own dns and I think it will be a cold day in hell before they let me do automated updates.

path: 0 16504420 16504850 16505371 16505624, hotness: undefined, score: 3, children: 3
exu 6 points a year ago

Any DNS host that doesn't support automation either starts building now or goes out of business when short certs are implemented.

path: 0 16504420 16504850 16505371 16505624 16506079, hotness: undefined, score: 6, children: 0
sugar_in_your_tea 2 points a year ago

Sure, but it's really nice if it does.

I use Cloudflare, and my login token only supports editing DNS records, which is nice. If yours doesn't, it may be worth switching to one that does. There are lots of options and many of them have a reasonable API.

path: 0 16504420 16504850 16505371 16505624 16505711, hotness: undefined, score: 2, children: 0
corsicanguppy 1 point a year ago

Also my workplace hosts their own dns

The best way to control the data.

and I think it will be a cold day in hell before they let me do automated updates.

This is of waning value, but don't jump into half-assed automation early or you end up with problems like route53 hijacking.

path: 0 16504420 16504850 16505371 16505624 16511123, hotness: undefined, score: 1, children: 0
Rogue 0 points a year ago

Even that's more steps than necessary.

Just serve your website with Caddy and it handles certs for you. The config is absolutely trivial compared to Apache, nginx, etc

path: 0 16504420 16504850 16505371 16505499, hotness: undefined, score: 0, children: 2
sugar_in_your_tea 1 point a year ago

I use Caddy, but there are a lot of options with decent documentation.

path: 0 16504420 16504850 16505371 16505499 16505669, hotness: undefined, score: 1, children: 0
corsicanguppy 1 point a year ago

Just

Red flag.

serve your website with Caddy

There is no security risk so bad that it can't be made worse by layering on new tech with its own issues and pitfalls. (Paraphrasing Bruce Jackson)

path: 0 16504420 16504850 16505371 16505499 16511164, hotness: undefined, score: 1, children: 0
corsicanguppy 3 points a year ago

If you’re truly unaware of why TLS is necessary or how to automate the process then you should probably retire.

Oof. You're gonna hit the bottom of the table with your knee like that.

What part of your security training skipped over understanding the customer's setup before making recommendations?

path: 0 16504420 16504850 16511092, hotness: undefined, score: 3, children: 0
Maestro 24 points a year ago

All public websites need SSL.

path: 0 16504420 16504706, hotness: undefined, score: 24, children: 0
technology
technology

@lemmy.world

login for more options
88742
22213
14627

This is a most excellent place for technology news and articles.

Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


go to feed...