this post was submitted on 16 Dec 2024
362 points (97.9% liked)

Technology

60052 readers
2821 users here now

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


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  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, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 108 points 6 days ago (9 children)

I understand their reasoning behind this, but I am not sure, this is such a good idea. Imagine Letsencrypt having technical issues or getting DDoS'd. If the certificates are valid for 90 days and are typically renewed well in advance, no real problem arises, but with only 6 days in total, you really can't renew them all that much in advance, so this risk of lots of sites having expired certificates in such a situation appears quite large to me.

[–] [email protected] 17 points 6 days ago (2 children)

That's true, but it would also have to be a serious attack for LE to be down for 3 entire days. There are multiple providers for automated certs, so you could potentially just switch if needed.

[–] [email protected] 24 points 6 days ago (1 children)

Most companies are not really suited for instant switching to a different cert service.

load more comments (1 replies)
[–] [email protected] 17 points 6 days ago* (last edited 6 days ago)

The attack would only need to last for a day or two, and then everyone requesting updated certs when it stops could push enough people outside the 6-day window to cause problems. 6 days is probably long enough to not be a huge issue, but it's getting close to problematic. Maybe change to 15 days, which should avoid the whole issue (people could update once/week and still have a spare week and a day to catch issues).

[–] [email protected] 5 points 5 days ago* (last edited 5 days ago)

I volunteer to help with IT at a makerspace, and I hesitate to go for 6 day expiration times. As volunteers, we can't always fix problems in a timely way like paid IT staff could. We try to automate the hell out of everything, but certs have gone a day or two without getting updated before.

load more comments (7 replies)
[–] [email protected] 90 points 6 days ago (15 children)

When I look at the default list of trusted CAs in my browser, I get the feeling that certificate lifetimes isn't the biggest issue with server certificates.

[–] [email protected] 25 points 6 days ago

People who'd abuse trust into centralized PKI system are not real, they can't hurt you, because if they abuse it, said system's reputation will fall to zero, right?

Except it's being regularly abused. LOL. And everybody is using it.

[–] [email protected] 22 points 6 days ago

The sites I have most frequently have had to add expired certificates to use are US government websites. Particularly those affiliated with the military branches. It’s sad.

load more comments (13 replies)
[–] [email protected] 27 points 5 days ago (1 children)

What is the use case or benefit for the server admin?

as a server admin I wouldn't want to keep renewing my cert.

can anyone help to explain?

[–] [email protected] 39 points 5 days ago (13 children)

Lets Encrypt certs tend to be renewed by a cronjob, anyway. The advantage is that if someone gets your cert without your knowledge, they have, at most, six days to make use of it.

[–] [email protected] 24 points 5 days ago (3 children)

If they get it without your knowledge, what are the odds they can get the new one too?

If they got it with your knowledge, can't you just revoke the old one?

[–] [email protected] 11 points 5 days ago

If they got it with your knowledge, can’t you just revoke the old one?

Yeah, but unfortunately cert revocation isn't that great in practice. Lots of devices and services don't even check the revocation lists on every connection.

[–] [email protected] 9 points 5 days ago (1 children)
[–] [email protected] 7 points 5 days ago (1 children)

I've been using the Swiss Cheese Model for my sandwiches and they've been a disaster.

[–] [email protected] 3 points 4 days ago

You have to scramble the slices, otherwise the holes all line up and your mayonnaise falls out.

[–] [email protected] 3 points 5 days ago (1 children)

6 days to do what you want to do to the page and its visitors. I guess that's good?

load more comments (1 replies)
load more comments (12 replies)
[–] [email protected] 16 points 6 days ago

It's kind of in line with their plan to get rid of OCSP: short certificate lifetimes keep CRLs short, so I get where they're coming from (I think).

90 days of validity, which was once a short lifetime. Currently, Google is planning to enforce this as the maximum validity duration in their browser, and I'm sure Mozilla will follow, but it wouldn't matter if they didn't because no provider can afford to not support chromium based browsers.

I was expecting that they reduce the maximum situation to e.g. 30 days, but I guess they want to make the stricter rules optional first to make sure there are no issues.

[–] [email protected] 14 points 6 days ago (1 children)

Interesting. I use LetsEncrypt largely for internal services, of which I expose a handful externally, and I've been thinking of only opening the external port mapping for cert renewals. With this at 90 days, I was planning on doing this once/month or so, but maybe I'll just go script it and try doing it every 2-3 days (and only leave the external ports open for the duration of the challenge/response).

I'm guessing my use-case is pretty abnormal, but it would be super cool if they had support for this use-case. I basically just want my router to handle static routes and have everything be E2EE even on my LAN. Shortening to 6 days is cool from a security standpoint, but a bit annoying for this use-case.

[–] [email protected] 32 points 6 days ago (4 children)

You can use DNS challenge to renew your certificates without opening ports! Have a look at acme.sh for automation.

load more comments (4 replies)
[–] [email protected] 12 points 6 days ago (3 children)

Digicert, Sectigo, Globalsign: hold my beer, 1 day certificate, even better: on the fly certificate per client 😂

load more comments (3 replies)
[–] [email protected] 8 points 5 days ago* (last edited 5 days ago) (8 children)

Don’t certs just create an ephemeral key pair that disappears after the session anyhow? What does cert validity period have to do with “This is a big upgrade for the security of the TLS ecosystem because it minimizes exposure time during a key compromise event.”

I mean, it’s LE so I’m sure they know what their talking about. But…?

[–] [email protected] 9 points 5 days ago (3 children)

compromising a keypair is a huge win. lets you impersonate the domain. shorter validation periods = smaller windows of compromised situations.

basically the smaller you make the window the less manual intervention and the less complicated infrastructure gets. currently TLS systems need a way to invalidate certificates. get them down to a day and suddenly that need just disappears. vastly simplifying the code and the system. 6 days is a huge improvement over 90 days.

load more comments (3 replies)
load more comments (7 replies)
[–] [email protected] 6 points 5 days ago (1 children)

Since I set up a https website (lemmy) and had to deal with the hassle of certificates, I do wonder why you need another entity to churn out what's basically a RSA key pair?

Is it this you must trust the government again or is there some better reasons for it?

[–] [email protected] 24 points 5 days ago (28 children)

It's to make sure you're actually reaching your intended endpoint. If I'm visiting a site for the first time, how do I know I actually have THEIR certificate? If it's self generated, anybody could sign a certificate claiming to be anybody else. The current system is to use authority figures who validate certificates are owned by the site you're trying to visit. This means you have a secure connection AND know you're interacting with the correct site.

load more comments (28 replies)
load more comments
view more: next ›