• Antithetical@lemmy.deedium.nl
      link
      fedilink
      English
      arrow-up
      77
      ·
      1 month ago

      I’m sorry, but have you ever needed to manage some certificates for a legacy system or something that isn’t just a simple public facing webserver?

      Automation becomes complicated very quickly. And you don’t want to give DNS mutation access to all those systems to renew with DNS-01.

      • anonymous111@lemmy.world
        link
        fedilink
        English
        arrow-up
        53
        ·
        1 month ago

        Ahh yes the: we can’t have self signed certificates for security reasons but also can’t open up the environment to the web, and we dont have our own CA server, trifecta.

        Solution: awkward, manual, certificate import process from a 3rd party vendor.

        • catloaf@lemm.ee
          link
          fedilink
          English
          arrow-up
          24
          ·
          1 month ago

          Even if you have an internal CA, few appliances support this kind of automation. At best, they have an API, and you get to write that automation yourself for each appliance.

          • UnsavoryMollusk@lemmy.world
            cake
            link
            fedilink
            English
            arrow-up
            11
            ·
            1 month ago

            Knew a place where, for some devices, it was only available via a web interface. It was automated via WebDriver by a sysadmin that was losing his mind.

            • corsicanguppy@lemmy.ca
              link
              fedilink
              English
              arrow-up
              11
              ·
              1 month ago

              If you think it’s just too easy but people are still discussing it, please entertain the notion that you may have oversimplified the situation in your assessment and that as assumptions become clarified you may yet soon understand a horror that apple can’t quite grok.

            • thesmokingman@programming.dev
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 month ago

              Did we read the same article? DNS-01 challenges require updates to DNS. This means you need an API for your DNS. This means you now have to worry about DNS permissions in your application cert workflow. We’ve just massively increased blast radius! Or you could do it manually but that’s already failed.

              All of this is straightforward with infrastructure-as-code. While I don’t struggle with that, I’ve watched devs and sysadmins both stare blankly at this kind of thing for days at a time.

              • farcaller@fstab.sh
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 month ago

                Updates to DNS, yes. Not necessarily to your primary zone. In other words, you don’t need access to the name servers for your highly privileged example.com zone, only the nameservers for inconsequential.example.com. With the challenge delegation you can easily narrow the scope by CNAMEing the relevant _acme-challenge enries in your primary domain once. This not only removes the need for the validator to modify your primary zone, but also scopes what subdomains it can validate, too. So the blast radius decreases.

                I, too, maintain several devices that insist on having the certificates (and keys, yuck) being fed to them by hand. I automated it all, because I don’t see why a human should be in a loop of copying the secret material. Automaton is good.

    • RegalPotoo@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 month ago

      It’s not the issuance that’s the headache, it’s the installation. There are more things that need valid certs than just webservers

        • wizardbeard@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          22
          ·
          1 month ago

          Any number of numerous appliances and hideously malformed business systems that don’t have ways to automate cert changes.

          Not everyone gets to work in their simple little world of standards-following lab servers.

        • Terrasque@infosec.pub
          link
          fedilink
          English
          arrow-up
          10
          ·
          1 month ago

          This has a lot of “I can use the bus perfectly fine for my needs, so we should outlaw cars” energy to it.

          There are several systems, like firewalls , switches, routers, proprietary systems and so on that only has a manual process for updating, that can’t be easily automated.

            • Terrasque@infosec.pub
              link
              fedilink
              English
              arrow-up
              5
              ·
              1 month ago

              Hah. Snake oil vendors will still sell snake oil, CEO will still be dazzled by fancy dinners and fast talking salesmen, and IT will still be tasked with keeping the crap running.

    • Pacmanlives@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      Does not work well for large corporate roll outs. Last I checked no way to auto-enroll on a NetScaler or an F5

    • thesmokingman@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      AWS makes this impossible in a few places such as a fair number of ACM use-cases.

      I think your cert-per-session idea is interesting. We’d need significant throughput and processing boosts to make that happen, probably at least on the order of 10X computing speeds and 10X transmission speeds across the board minimum. These operations are computationally intense and add data to the wire so, for example, a simple Lemmy server with hundreds of users slows to a crawl and a larger site eg Mastodon goes to dialup speeds or worse. You can test at home by trying to generate an x509 self-signed cert before connecting to a website every time.

      • Onno (VK6FLAB)@lemmy.radio
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Well AWS ACM already automates this, so if the renewal period gets shortened, I’m guessing that this will be updated to suit, unless I’m misunderstanding your point.

        I hadn’t considered the CPU load, but that’s a fair point. I’m guessing that a suitable piece of code will utilise specialised hardware, or perhaps leverage the GPU or just in time SSL certificates will become a thing.

  • NekuSoul@lemmy.nekusoul.de
    link
    fedilink
    English
    arrow-up
    42
    ·
    edit-2
    1 month ago

    Part of this might be my general disdain towards sysadmins who don’t know the first thing about technology and security, but I can’t help but notice that article is weirdly biased:

    Over the past couple of days, these unsung heroes who keep the internet up and running flocked to Reddit to bemoan their soon-to-be increasing workload.

    Kind of weird to praise random Reddit users who might or might not actually sysadmins that much for not keeping up with the news, or put any kind of importance onto Reddit comments in the first place.

    Personally, I’m much more partial to the opinions of actual security researchers and hope this passes. All publicly used services should use automated renewals with short lifespans. If this isn’t possible for internal devices some weird reason, that’s what private CAs are for.

    • Kushan@lemmy.world
      link
      fedilink
      English
      arrow-up
      23
      ·
      1 month ago

      I’m on the side of “automate it all and stop whining”, but I do think it’s important not to so readily dismiss the thoughts and opinions of those this directly affects in favour of the opinions of the security researchers pushing the change.

      There are some legitimate issues with certain systems that aren’t easily automated today. The issue is with those systems needing to be modernised, but there isn’t a big push for that.

      • NekuSoul@lemmy.nekusoul.de
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        1 month ago

        I’d be more concerned as well if this would be an over-night change, but I’d say that the rollout is slow and gradual enough that giving it more time would just lead to more procrastination instead, rather than finding solutions. Particularly for those following the news, which all sysadmins should, the reduction in certificate lifespan over time has been going on for a while now with a clear goal of automation becoming the only viable path forward.

        I’ll also go out on a limb and make a guess that a not insignificant amount of people only think that their “special” case can’t be automated. I wouldn’t even be surprised if many of those could be solved by a bog-standard reverse-proxy setup.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          Exactly. My “special case” took a little more care, but it works completely fine. Here’s my setup:

          1. TCP proxy at edge -> wireguard tunnel using SNI to route to the right service
          2. reverse proxy that handles all TLS for all services on its device (renewals and crypto)
          3. HTTP services behind a firewall that only communicate w/ proxy

          I have my router configured to resolve DNS to #2, so I don’t need to hit the WAN to access local services over TLS, and it uses the exact same cert as WAN traffic and the browser is happy.

          This is about as exotic as I can think of, and it still works just fine for TLS renewals, and it’s 100% automated. I do need to leave HTTP open (it only serves acme endpoints, so whatever), but I could also close that down and have the renewal process open that temporarily if needed.

          The only special case I can think of is a device that rarely turns on, which is incredibly rare these days (you’d generally have an always-on gateway that uses self-signed certs or something for those devices that stay off).

      • moonbunny@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        Usually the systems that need to be modernized are working, so nobody wants to invest in a new system that may require retraining the people that may be impacted. Then there’s some systems with integrations that may also require replacing so the integrations can continue to work.

        Even then, there’s always a good possibility that the automation fails, especially in the first few iterations of trying to sort out the kinks, and third party automation tools aren’t perfect either. That’s another tool to have to update and maintain once all is said and done.

        I’m not trying to rail too hard against the changes, but the impact is especially felt by the people managing the systems, who’s most likely getting more work tacked on to their workload of putting out fires behind the scenes.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 month ago

      I’m not an “actual security researcher” but I was an “actual security officer” at a reeeeally large shop.

      Yes, researchers are right. But they don’t dictate what else we have to let slide to allow time to work this constantly.

      And neither are they on the hook for it.

      They can be pedants, but they can’t do it blind.

    • lud@lemm.ee
      link
      fedilink
      English
      arrow-up
      21
      ·
      edit-2
      1 month ago

      I was in a meeting before the summer discussing this with Digicert we asked if you would need to pay every 90 days.

      They answered that certs will still be bought at 1, 2, or 3 year intervals but can be renewed for free every 90 days.

      It’s pretty obvious when you think about it really.

    • pixely@lemmy.world
      link
      fedilink
      English
      arrow-up
      20
      ·
      1 month ago

      Who is buying SSL certs for $300? Is this an enterprise thing? I’m using free certs on AWS. LetsEncrypt is also fine for self-hosting.

          • kn33@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            1 month ago

            It’s more of an issue when it’s every 90 days. Even worse is the labor cost to replace the certificate on everything that needs it every 90 days.

            • pixely@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 month ago

              Are these genuinely being hand rolled in an enterprise environment? Unless it’s completely impossible to automate then I can’t be sympathetic to companies that are just doing it wrong.

              • kn33@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 month ago

                There’s lots of equipment that can’t accept certificates automatically. If they can, it might be in a closed off way that’s difficult to impossible to reverse engineer. If you can, that’s still a lot of skill and labor, which drives up the cost. They also might find out that it would be insecure to do it automatically.

      • Evotech@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        It’s way more than 300 if you want all the bells and whistles and many SANs even

  • podperson@lemm.ee
    link
    fedilink
    English
    arrow-up
    34
    ·
    1 month ago

    Any post/article with the word “slammed” in it gets a downvote and a no-read from me. That word needs to disappear from journalism/forums/life/etc.

      • thirteene@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 month ago

        As someone who creates custom domain name applications, FUCK THEM WITH A PINEAPPLE SPIKY SIDE FIRST. This problem is on par with timezones for needless complexity and communication disasters. Companys and advertisers are now adding man in the middle certs for additional data collection/visibility. If the ciphers not cracked, changing the certs exposes significantly more failure, than letting one get a little stale.
        Sysadmin used slam! It’s super effective!

        • lennivelkant@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 month ago

          Unrelated to the topic, but I deal with a database storing timestamps.

          In local time.

          For systems all around the world.

          You’ll see current entries timestamped 12:28 from eastern Europe followed by ones 6:28 from America and then another 11:28 from central Europe.

          Without offset.

          • sugar_in_your_tea@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            4
            ·
            1 month ago

            Ew. Just store UTC timestamps and do optional translation on the client using whatever the client sets up for their timezone. It’s not hard…

            • lennivelkant@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 month ago

              Oh believe me, I would change some things about that database if I could. Alas, I’m just the analyst building data models from it.

              (To be fair, it’s otherwise easy to work with and for most use-cases, it doesn’t matter since they’re aggregated per month anyway, so I just load the last month’s data on the 2nd of each month. I definitely have worse patients to operate on.)

          • thirteene@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 month ago

            Mostly customer provided certs, high end clients make all kinds of stupid requests like the aforementioned man-in-the-middle chain sniffers, clients that refuse DNS validation, clients that require alternate domains to be updated regularly. Management is fine for mywebsite.com, but how are you solving an EV on the spoofed root prod domain, with an sso cert chain for lower environments on internal traffic that is originally provided by a client? And do you want the cs reps emailing each other your root cert and (mistakingly) the key? I’ve been given since SCARY keys by clueless support engineers. I don’t want to do this every 3 months.

              • thirteene@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 month ago

                Sounds like you don’t do contact negotiations, if someone will pay 2 million to appear on their root domain, you’ll sit down and figure it out for a couple hours.

                • sugar_in_your_tea@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 month ago

                  Yes, I don’t, and I would honestly like to understand what use-case these customers are trying to solve. Because there’s a very good chance that they can get their preferred outcomes with a lot less manual work.

    • bandwidthcrisis@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 month ago

      The Register is deliberately tabloid-like in style (right up to the “red top” site banner), but is good quality (at least when I read it).

      They won’t write an article about science without using the word “boffins” either. It’s just their thing.

  • solrize@lemmy.world
    link
    fedilink
    English
    arrow-up
    31
    ·
    1 month ago

    Lame. 45 days? 10 days for DCV? How common are exploits involving old certificates anyway? And automated cert management is just another exploit target. Do they seriously think an attacker who pwns a server can’t keep the automatic renewals running?

    • 0x0@programming.dev
      link
      fedilink
      English
      arrow-up
      33
      ·
      1 month ago

      The solution, according to Sectigo’s Chief Compliance Officer Tim Callan, is to automate certificate management — unsurprising considering the firm sells software that does just this.

  • exu@feditown.com
    link
    fedilink
    English
    arrow-up
    26
    ·
    1 month ago

    Good, certificates should be automated anyways. Much more reliable than the once yearly outages because nobody renewed the thing or forgot some systems.

    • 0x0@programming.dev
      link
      fedilink
      English
      arrow-up
      28
      ·
      1 month ago

      Good, certificates should be automated anyways.

      The problem being when that can’t be easily automated? Did you read the article?

      • Justin@lemmy.jlh.name
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 month ago

        They should be automated too.

        The fact that I can’t use terraform to automatically deploy certs to network appliances is a problem.

        • hemko@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          1 month ago

          Technically, you shouldn’t even deploy certs to network appliances or servers but they should fetch certificates automatically from a vault. I know there’s minimal support for such things right now from some vendors, but that should be fixed by those vendors.

          Even Microsoft supports such solutions in Azure both with PaaS components and Windows and Linux servers (in Azure or onprem) via extensions

          • Justin@lemmy.jlh.name
            link
            fedilink
            English
            arrow-up
            4
            ·
            edit-2
            1 month ago

            True.

            cert-manager is an amazing tool for deploying certificates for containerized applications. There’s no standardized way to deploy those certs outside of containers without scripting it yourself though, unfortunately.

        • Eccitaze@yiffit.net
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 month ago

          Oh yes, let me just contact the manufacturer for this appliance and ask them to update it to support automated certificate renewa–

          What’s that? “Device is end of life and will not receive further feature updates?” Okay, let me ask my boss if I can replace i–

          What? “Equipment is working fine and there is no room in the budget for a replacement?” Okay, then let me see if I can find a workaround with existing equipme–

          Huh? “Requested feature requires updating subscription to include advanced management capabilities?” Oh, fuck off…

        • wizardbeard@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 month ago

          Ugh. Righteous ideas about how things should work don’t change the fact that these network appliances doing it the wrong way still have years of time left before the bean counters consider them depreciated and let us replace them. Or that we’re locked into a multi-year contract with this business system that requires updating certs through a web UI.

          Yes, there are almost always workarounds and ways to still automate it in the end, but then it’s a matter of effort vs stability vs time savings.

          I love automating manual sysadmin actions, it’s my primary role on my team. Still, ignoring the complications that will unavoidably arise in trying automating this for every unique setup is incredibly foolish.

          • Justin@lemmy.jlh.name
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 month ago

            By this logic, we should still be using copper phone lines, analog TV, and 3G should never get switched off. Obviously there are always budget constraints but technological progress does not wait for shitty vendors.

            I work mainly in cloud and Kubernetes environments where this stuff is already automated. New vendors are often just deploying new containers into a cluster.

  • fartsparkles@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    21
    ·
    1 month ago

    Smells like Apple knows something but can’t say anything. What reason would they want lifespans cut so short other than they know of an attack vector that means more than 10 days isn’t safe?

    AFAIK they’re not a CA that sells certs so this can’t be some money making scheme. And they’ll be very aware how unpopular 10 day lifespans would be to services that suck and require manual download and upload every time you renew.

    • 0x0@programming.dev
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 month ago

      Smells like you didn’t read the article, it’s an ongoing trend:

      Max lifespans of certs have been gradually decreasing over the years in an ongoing effort to boost internet security. Prior to 2011, they could last up to about eight years. As of 2020, it’s about 13 months.

      • li10@feddit.uk
        link
        fedilink
        English
        arrow-up
        36
        ·
        1 month ago

        Reducing it to one year made sense, one year down to 10 days is actually a fucking massive difference. Practically speaking, it’s a far, far bigger change than 8 years down to 1.

        This isn’t just an “ongoing trend” at this point, it would be a fundamental change to the way that certificates are managed i.e. making it impossible to handle renewals manually for any decently sized business.

        • Cort@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 month ago

          They never said the ongoing trend wasn’t logarithmic. By 2030 you’ll be updating certs 6-8 times a day! Please drink verification can.

      • fartsparkles@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        27
        ·
        edit-2
        1 month ago

        Thank you for the smug response however I did indeed read the article and going from 13 months to 10 days is not a trend but a complete rearchitecture of how certificates are managed.

        You have no idea how many orgs have to do this manually as their systems won’t enable it to be automated. Following a KBA once a year is fine for most (yet they still forget and websites break for a few days; this literally happened to NVD of all things a few weeks ago).

        This change is a 36x increase in effort with no consideration for those who can’t renew and apply certs programmatically / through automation.

        • corsicanguppy@lemmy.ca
          link
          fedilink
          English
          arrow-up
          7
          ·
          1 month ago

          This change is a 36x increase in effort with no consideration for those who can’t renew and apply certs programmatically / through automation

          Don’t worry. All that old gear is at least 45 days old - so old - and isn’t an apple product anyway probably. Ergo, support isn’t their issue and you will have to take that up with your OEM because la-la-la-laaaaa, can’t hear you. Wanna go ride bikes?

        • 0x0@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          I did indeed read the article

          Smells like Apple knows something but can’t say anything.

          Then do explain your conspiracy theory. Sectigo could go for a money grab, otherwise… probably just forcing automation without thinking of impact, as usual.

  • ironsoap
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 month ago

    If approved, it will affect all Safari certificates, which follows a similar push by Google, that plans to reduce the max-validity period on Chrome for these digital trust files down to 90 days.

    Max lifespans of certs have been gradually decreasing over the years in an ongoing effort to boost internet security. Prior to 2011, they could last up to about eight years. As of 2020, it’s about 13 months.

    Apple’s proposal would shorten the max certificate lifespan to 200 days after September 2025, then down to 100 days a year later and 45 days after April 2027. The ballot measure also reduces domain control validation (DCV), phasing that down to 10 days after September 2027.

    And while it’s generally agreed that shorter lifespans improve internet security overall — longer certificate terms mean criminals have more time to exploit vulnerabilities and old website certificates — the burden of managing these expired certs will fall squarely on the shoulders of systems administrators.

    Over the past couple of days, these unsung heroes who keep the internet up and running flocked to Reddit to bemoan their soon-to-be increasing workload. As one noted, while the proposal “may not pass the CABF ballot, but then Google or Apple will just make it policy anyway…”

    However, as another sysadmin pointed out, automation isn’t always the answer. “I’ve got network appliances that require SSL certs and can’t be automated,” they wrote. “Some of them work with systems that only support public CAs.”

    Another added: “This is somewhat nightmarish. I have about 20 appliance like services that have no support for automation. Almost everything in my environment is automated to the extent that is practical. SSL renewal is the lone achilles heel that I have to deal with once every 365 days.”

    Until next year, anyway.

  • JakenVeina@lemm.ee
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 month ago

    Automated certificate lifecycle management is going to be the norm for businesses moving forward.

    This seems counter-intuitive to the goal of “improving internet security”. Automation is a double-edged sword. Convenient, sure, but also an attack vector, one where malicious activity is less likely to be noticed, because actual people aren’t involved in tbe process, anymore.

    We’ve got ample evidence of this kinda thing with passwords: increasing complexity requirements and lifetime requirements improves security, only up to a point. Push it too far, and it actually ends up DECREASING security, because it encourages bad practices to get around the increased burden of implementation.

  • ShortFuse@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    1 month ago

    Just going to mention my zero-dependency ACME (Let’s Encrypt) library: https://github.com/clshortfuse/acmejs

    It runs on Chrome, Safari, FireFox, Deno, and NodeJS.

    I use it to spin up my wildcard and HTTP certificates. I’ve personally automated it by having the certificate upload to S3 buckets and AWS Certificates. I wrote a helper for Name.com for DNS validation. For HTTP validation, I use HTTP PUT.

      • ShortFuse@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        That’s what NodeJS and Deno are.

        The point of the browser support means it runs on modern Web technologies and doesn’t need external binaries (eg: OpenSSL). It can literally run on any JS, even a browser.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          I’m aware, but you led with Chrome, Safari, and Firefox, so it sounded like browser support was the point, so I was curious what the use-case was.

          That’s still cool though. I personally would’ve just use Python, since that’s generally available everywhere I’d want to run something like this (though Python’s built-in HTTP lib isn’t nearly as nice as JS’s fetch(), I’d want requests).

          • ShortFuse@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            I have just dumped code into a Chrome console and saved a cert while in a pinch. It’s not best practices of course, but when you need something fast for one-time use, it’s nice to have something immediately available.

            You could make your own webpage that works in the browser (no backend) and make a cert. I haven’t published anything publicly because you really shouldn’t dump private keys in unknown websites, but nothing is stopping you from making your own.

  • randomaside@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 month ago

    Sounds like free money for all those certificate authorities out there. Imma start my own CA with blackjack and hookers.

    • jeansburger@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 month ago

      Or… They do what they did last time the lifetime was cut down from 3-10 years down to 395 days… Just issue you a new certificate when the old one runs out and up to whatever the time period you bought it for…?

      Let’s Encrypt isn’t the only CA to use ACME, you can auto renew with basically any CA that implemented it (spoiler: most of them have)