I think it’s a good idea, everyone should be automating this anyway.

  • @[email protected]
    link
    fedilink
    English
    31 month ago

    There are a lot of embedded systems that do not offer API support to swap out certificates. Things like switches, dvr, nas devices, etc.

    • @[email protected]
      link
      fedilink
      English
      91 month ago

      Honestly in rare situations that a device like that needs to be accessible from the wild Internet I think it’d be mad to expose it directly, especially if it’s not manageable as you suggest. At the very least, I’d be leaning on a reverse proxy.

      • @[email protected]
        link
        fedilink
        English
        41 month ago

        That implies though I don’t want valid certificates in my environment. I still want to make sure even on my private network I’m using valid certs. A lot of security departments require that too even if the device isn’t public facing.

        • @[email protected]
          link
          fedilink
          English
          81 month ago

          Valid certificate is anything you trust. Any CA which you can trust is no more or less secure than the one you get from LE, so for the private network you can just happily sign your own certificates and just distribute the CA to your devices.

          • @[email protected]
            link
            fedilink
            English
            01 month ago

            But then you have to distribute CAs to all the devices that will reach this service, and not all devices allow that.

            • @[email protected]
              link
              fedilink
              English
              11 month ago

              True. And there’s also a ton of devices around which don’t trust LetsEncrypt either. There’s always edge cases. For example, take a bit older photocopier and it’s more than likely that it doesn’t trust on anything on this planet anymore and there’s no easy way to update CA lists even if the hardware itself is still perfectly functional.

              That doesn’t mean that your self-signed CA, in itself, would be technically any less secure than the most expensive Verisign certificate you can find. And yes, there’s a ton of details and nuances here and there, but I’m not going to go trough every technical detail about how certificates work. I’m not an expert on that field by any stretch even if I do know a thing or two and there’s plenty of material online to dig deep into the topic if you want to.

              • @[email protected]
                link
                fedilink
                English
                0
                edit-2
                1 month ago

                I’m good. I know very well there are uses cases for a self signed cert. LE is still far more practical for 99% of use cases, even internally.

        • @cm0002
          link
          English
          31 month ago

          still want to make sure even on my private network I’m using valid certs. A lot of security departments require that too even if the device isn’t public facing.

          Is there a hard source with evidence that this is at all needed? Because there are a lot of things that “security departments” do that amount to security theater. Like forcing arbitrary password changes org wide.

          • @[email protected]
            link
            fedilink
            English
            31 month ago

            Regardless of “hard evidence” it’s still the company policy. How well does it go over if you try to say “well acktuslly…” when it comes to password changes.

            • @cm0002
              link
              English
              41 month ago

              How well does it go over if you try to say “well acktuslly…” when it comes to password changes.

              Well, it went over easy, but I also gained the authority to implement or toss such policies when I took my job LMAO

              In any case, I was referring to the “my environment” part since it implied you had such authority and were just choosing to emulate policies of others, ofc I don’t mean to make decisions you don’t have the authority to. Hard evidence is hard evidence though, it does give you a leg to stand on should you propose such changes

        • @[email protected]
          link
          fedilink
          English
          21 month ago

          I’m with you, but that’s why I’m automating certificate expiry checking somewhere else (in my home assistant install to be exact).

    • @[email protected]
      link
      fedilink
      English
      11 month ago

      How are those devices affected by having no notification anymore? The manual labor exists anyway.

      Most network switches and devices have a web gui to switch them out. Those can be automated.