Let’s Encrypt will be reducing the validity period of the certificates we issue. We currently issue certificates valid for 90 days, which will be cut in half to 45 days by 2028.
This change is being made along with the rest of the industry, as required by the CA/Browser Forum Baseline Requirements, which set the technical requirements that we must follow. All publicly-trusted Certificate Authorities like Let’s Encrypt will be making similar changes. Reducing how long certificates are valid for helps improve the security of the internet, by limiting the scope of compromise, and making certificate revocation technologies more efficient.

  • ominous ocelot@leminal.space
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    1 hour ago

    It’s the “change your password often odyssey” 2.0. If it is safe, it is safe, it doesn’t become unsafe after an arbitrary period of time (if the admin takes care and revokes compromised certs). If it is unsafe by design, the design flaw should be fixed, no?

    Or am I missing the point?

    • cron@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 minutes ago

      Short lifespans are also great when domains change their owner. With a 3 year lifespan, the old owner could possibly still read traffic for a few more years.

      When the lifespan ist just 30-90 days, that risk is significatly reduced.

    • LastYearsIrritant@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 hour ago

      The point is, if the certificate gets stolen, there’s no GOOD mechanism for marking it bad.

      If your password gets stolen, only two entities need to be told it’s invalid. You and the website the password is for.

      If an SSL certificate is stolen, everyone who would potentially use the website need to know, and they need to know before they try to contact the website. SSL certificate revocation is a very difficult communication problem, and it’s mostly ignored by browsers because of the major performance issues it brings having to double check SSL certs with a third party.

      • Lyra_Lycan@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        51 minutes ago

        But browsers have a marker for dangerous sites - surely Cloudflare, Amazon or Google should have a report system and deliver warnings at the base

          • Auli@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            18 minutes ago

            So is there an example of SSL certs being stolen and used nefariously. Only thing that sticks out to me is certificate authorities being bad.

  • Arghblarg@lemmy.ca
    link
    fedilink
    English
    arrow-up
    41
    arrow-down
    7
    ·
    4 hours ago

    So what’s the floor here realistically, are they going to lower it to 30 days, then 14, then 2, then 1? Will we need to log in every morning and expect to refresh every damn site cert we connect to soon?

    It is ignoring the elephant in the room – the central root CA system. What if that is ever compromised?

    Certificate pinning was a good idea IMO, giving end-users control over trust without these top-down mandated cert update schedules. Don’t get me wrong, LetsEncrypt has done and is doing a great service within the current infrastructure we have, but …

    I kind of wish we could just partition the entire internet into the current “commercial public internet” and a new (old, redux) “hobbyist private internet” where we didn’t have to assume every single god-damned connection was a hostile entity. I miss the comraderie, the shared vibe, the trust. Yeah I’m old.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      41
      arrow-down
      2
      ·
      4 hours ago

      Will we need to log in every morning and expect to refresh every damn site cert we connect to soon?

      Automate your certificate renewals. You should be automating updates for security anyway.

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        14
        arrow-down
        1
        ·
        edit-2
        3 hours ago

        This is one of the reasons they’re reducing the validity - to try and convince people to automate the renewal process.

        That and there’s issues with the current revocation process (for incorrectly issued certificates, or certificates where the private key was leaked or stored insecurely), and the most effective way to reduce the risk is to reduce how long any one certificate can be valid for.

        A leaked key is far less useful if it’s only valid or 47 days from issuance, compared to three years. (note that the max duration was reduced from 3 years to 398 days earlier this year).

        From https://www.digicert.com/blog/tls-certificate-lifetimes-will-officially-reduce-to-47-days:

        In the ballot, Apple makes many arguments in favor of the moves, one of which is most worth calling out. They state that the CA/B Forum has been telling the world for years, by steadily shortening maximum lifetimes, that automation is essentially mandatory for effective certificate lifecycle management.

        The ballot argues that shorter lifetimes are necessary for many reasons, the most prominent being this: The information in certificates is becoming steadily less trustworthy over time, a problem that can only be mitigated by frequently revalidating the information.

        The ballot also argues that the revocation system using CRLs and OCSP is unreliable. Indeed, browsers often ignore these features. The ballot has a long section on the failings of the certificate revocation system. Shorter lifetimes mitigate the effects of using potentially revoked certificates. In 2023, CA/B Forum took this philosophy to another level by approving short-lived certificates, which expire within 7 days, and which do not require CRL or OCSP support.

    • JASN_DE@feddit.org
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      2
      ·
      4 hours ago

      So what’s the floor here realistically, are they going to lower it to 30 days, then 14, then 2, then 1?

      LE is beta-testing a 7-day validity, IIRC.

      Will we need to log in every morning and expect to refresh every damn site cert we connect to soon?

      No, those are expected or even required to be automated.

    • cron@feddit.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 hours ago

      The best approach for securing our CA system is the “certificate transparency log”. All issued certificates must be stored in separate, public location. Browsers do not accept certificates that are not there.

      This makes it impossible for malicious actors to silently create certificates. They would leave traces.

      • False@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        29 minutes ago

        Isn’t this just CRL in reverse? And CRL sucks or we wouldn’t be having this discussion. Part of the point of cryptographically signing a cert is so you don’t have to do this if you trust the issuer.

        Cryptography already makes it infeasible for a malicious actor to create a fake cert. The much more common attack vector is having a legitimate cert’s private key compromised.

        • cron@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 minutes ago

          No, these are completely separate issues.

          • CRL: protect against certificates that have their private key compromised
          • CT: protect against incompetent or malicious Certificate Authorities.

          This is just one example why we have certificate transparency. Revocation wouldn’t be useful if it isn’t even known which certificates need revocation.

          The National Informatics Centre (NIC) of India, a subordinate CA of the Indian Controller of Certifying Authorities (India CCA), issues rogue certificates for Google and Yahoo domains. NIC claims that their issuance process was compromised and that only four certificates were misissued. However, Google is aware of misissued certificates not reported by NIC, so it can only be assumed that the scope of the breach is unknown.

          Source

        • Auli@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          14 minutes ago

          Or the more likely a rouge certificate authority giving out certs it shouldn’t.

        • cron@feddit.org
          link
          fedilink
          English
          arrow-up
          8
          ·
          3 hours ago

          The only disadvantage I see is that all my personal subdomains (e.g. immich.name.com and jellyfin) are forever stored in a public location. I wouldn’t call it a privacy nightmare, yet it isn’t optimal.

          There are two workarounds:

          • do not use public certificates
          • use wildcard certificates only
          • Burnoutdv@feddit.org
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            2
            ·
            2 hours ago

            But how to automate wildcard certificate generation? That requires a change of the txt record and namecheap for instance got no mechanism for that to automatically happen on cert bot action

    • dan@upvote.au
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      3 hours ago

      The current plan is for the floor to be 47 days. https://www.digicert.com/blog/tls-certificate-lifetimes-will-officially-reduce-to-47-days, and this is not until 2029 in order to give people sufficient time to adjust. Of course, individual certificate authorities can choose to have lower validity periods than 47 days if they want to.

      Essentially, the goal is for everyone to automatically renew the certificates once per month, but include some buffer time in case of issues.

    • AlmightyDoorman@kbin.earth
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      Not exactly what you mean because there are also bad actors but take a look at i2p, in some ways it feels like an retro internet.

    • slazer2au@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      4 hours ago

      Seeing as most root CA are stored offline compromising a server turned off is not really possible.

      I’m more annoyed that I have 10 year old gear that doesn’t have automation for this.

      • Arghblarg@lemmy.ca
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 hours ago

        Oh, I’m really just pining for the days before the ‘Eternal September’, I suppose. We can’t go back, I know. :/

  • Prove_your_argument@piefed.social
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    3
    ·
    3 hours ago

    Reducing the valid time will not solve the underlying problems they are trying to fix.

    We’re just gonna see more and more mass outages over time especially if this reduces to an uncomfortably short duration. Imagine what might happen if a mass crowdflare/microsoft/amazon/google outage that goes on perhaps a week or two? what if the CAs we use go down longer than the expiration period?

    Sure, the current goal is to move everybody over to ACME but now that’s yet another piece of software that has to be monitored, may have flaws or exploits, may not always run as expected… and has dozens of variations with dependencies and libraries that will have various levels of security of their own and potentially more vulnerabilities.

    I don’t have the solution, I just don’t see this as fixing anything. What’s the replacement?

    • fistac0rpse@fedia.io
      link
      fedilink
      arrow-up
      7
      arrow-down
      3
      ·
      3 hours ago

      clearly the most secure option is to have certificates that are only valid for 30 seconds at a time

  • Valmond@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    4
    ·
    3 hours ago

    And you still can’t self certify.

    It’s cute the big players are so concerned with my little security of my little home server.

    Or is there a bigger plan behind all this? Like pay more often, lock in to government controlled certs (already done I guess because they control DNS and you must have a “real” website name to get a free cert)?

    I feel it’s 50% security 50% bullshit.

        • False@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          27 minutes ago

          That’s a complaint about those phones not PKI in general then. Though it’s surprising their enterprise support won’t let you since that is (or was) a fairly common thing for businesses to do.

      • Valmond@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        2 hours ago

        But you have to manually accept this dangerous cert in the browser right?

        Very interesting actually, do you have any experience about it or other pointers? I might just set one up myself for my tenfingers sharing protocol

        • Unforeseen@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          6
          ·
          1 hour ago

          No, because it’s no longer dangerous if it’s trusted.

          You give your friends your public root and if applicable, intermediary certs. They install them and they now trust any certs issued by your CA.

          Source: I regularly build and deploy CA’s in corps

        • ℍ𝕖𝕝𝕚0𝕤@social.ggbox.fr
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 hour ago

          No that’s the point. If you import the CA certificate on your browser, any website that uses a cert that was signed by that CA will be trusted and accessible without warning.

    • stratself@lemdro.id
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Technically something like DANE can allow you to present DNSSEC-backed self-signed certs and even allow multi-domain matching that removes the need for SNI and Encrypted Client Hello… but until the browsers say it is supported, it’s not

    • dan@upvote.au
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      3 hours ago

      Yes, this requirement comes from the CA/Browser Forum, which is a group consisting of all the major certificate authorities (like DigiCert, Comodo/Sectigo, Let’s Encrypt, GlobalSign, etc) plus all the major browser vendors (Mozilla, Google, and Apple). Changes go through a voting process.

      Google originally proposed 90 day validity, but Apple later proposed 47 days and they agreed to move forward with that proposal.

      • nelson@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        edit-2
        2 hours ago

        Don’t worry they’ll reduce the cost of certificates proportionally to the longevity of the certificate.

        Right? Anybody?

        << Cricket noises >>

        Edit: obviously not LE, but other certificate vendors.

      • Helix 🧬@feddit.org
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        3
        ·
        3 hours ago

        most trouble is probably caused in the first few days. Doesn’t matter if it’s 45 or 90 days, it would have to be a few hours to be meaningfully short. Given that automating things like this is annoying sometimes, you’ll be sure people will max out the 45 days…

        I’m pretty sure it’s the SSL seller lobby just wanting more money, tbh. Selling snake oil security.

        • False@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          20 minutes ago

          Yeah you can still do a lot of damage in a few hours, but 45 days is a meaningful reduction in exposure time from year+