I know that I can simply make my own private certificate authority that only I and my family trust. But is there some public provider like letsencrypt that is in a free-er part of the world than the US?

  • themurphy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    133
    ·
    1 month ago

    Is anyone wonders why it’s a problem it’s under US juristriction:

    Look up the US Cloud Act. It’s everything the media told you China was, but in the hands of an orange dictator.

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

      'Muricans are so racist, we heard “orange chicken” and thought they were talking about China. 🤣

      I do think we’ll end up scrambling for alternatives at some point, so better to do it now.

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

    Simi-related fun fact.

    The biggest contributor to TOR is the CIA. They funded it’s creation and are primarily responsible for maintaining it to this day.

    The CIA maintains TOR as a way for spies to pass information over the internet. They make it public because if only spies used TOR it would be trivial to catch them. So it’s in their interest that it be public and secure. It’s open source and security experts agree you can trust it.

    • plyth@feddit.org
      link
      fedilink
      English
      arrow-up
      48
      ·
      1 month ago

      The CIA, not navy intelligence?

      The core principle of Tor, known as onion routing, was developed in the mid-1990s by United States Naval Research Laboratory employees, mathematician Paul Syverson, and computer scientists Michael G. Reed and David Goldschlag, to protect American intelligence communications online.

      https://en.wikipedia.org/wiki/Tor_(network)

    • Phoenixz@lemmy.ca
      link
      fedilink
      English
      arrow-up
      14
      ·
      1 month ago

      So since this, according yo you, is a fact, I do suppose you have evidence to this claim? And I’m talking evidence that can be corroborated, not a Facebook post or something from a conspiracy sub, and not “oh man, everybody knows this!” because everybody doesn’t know this.

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

          There’s a thing called search engines, it takes about 20 seconds, much less than waiting for a reply you asked for in a mocking tone. What about “security analysis tor protocol”?

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    41
    ·
    1 month ago

    Let’s encrypt is very transparent and has been designed to be auditable. What are you worried about exactly?

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

      That the U.S. government can arbitrarily take down websites by revoking certificates issued by let’s encrypt? How obvious can it be? I wondered the same thing as OP months ago. We need european alternatives. I think there are some, have some bookmarked somewhere.

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

        Are you trying to solve a technica, or political/moral problem? Let’s Encrypt doesn’t create, see, store or log your private cerficates. So, even if they are in the US, I don’t see a risk, and otherwise, the other parts you use in general are probably vulnerable to the problem even if non-US.

        For ex. the US could simply order browsers stop validating any certificates not issues by US companies in browsers. And whoosh. Having a non-US certificate won’t help much there either.

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

      uncle sam. audit away. until sam says “give me the keys” and then sam has the keys

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 month ago

        The transparency logs would mean that any rouge certificates created would leave a paper trail not to mention there is nothing stopping them from issuing a certificate for any domain of their choosing

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

      I think Let’s Encrypt will stay safe for quite a while, but unfortunately because of the political climate we’re in right now, it may not stay safe in the future.

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

    I don’t think anyone is gonna solve that problem until it’s actually a problem.

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

      I don’t think anyone’s going to solve the problem in general, to be honest.

      Like, Let’s Encrypts goal is super novel, but also expensive as shit to actually run, and requires a lot of coordination because it needs to be a trust authority. If this ever happened, it would probably be at the backing of some government structure, because I don’t see many people wanting to jump at that as an expense.

  • A_norny_mousse@piefed.zip
    link
    fedilink
    English
    arrow-up
    37
    ·
    edit-2
    1 month ago

    This is why I never even started using Letsencrypt; looking at the fine print, you actually enter into some kind of contract with some US entity under US law, which I don’t want even if it’s the coolest of all FOSS foundations.

    Here’s a site that has some info:
    https://www.eurotoolkit.eu/categories/certificate-authority-ca
    I have used certum.pl for years and it looks like I might go back to them soon because my VPS provider doesn’t offer bundled certs anymore.

    I used to pay €40/year iirc.
    I suspect it’s gotten more expensive though.

    edit:
    oh looks like ZeroSSL are doing it letsencrypt-style with Acme protocol for €0.

    edit2:
    No, not more expensive. Some of the providers in the above link are labyrinthine and I couldn’t even find a Pricing section - usually a sign that it’s too expensive at least for a normal consumer - but others offer yearly certs for as little as €30 (taxes not included).

    edit3:
    Yeah some people are going to have a hard time accepting that a contract with a for-profit company under EU jurisdiction might be preferable to a contract with a non-profit under US jurisdiction.

    • drkt@scribe.disroot.org
      link
      fedilink
      English
      arrow-up
      32
      ·
      1 month ago

      I’ve been using ZeroSSL for over 5 years and can attest that they are friendly in that I have literally never seen or heard from them.

      I’ve set up and cancelled multiple domains in this time, and have had one domain running for the entirety of my time with ZeroSSL.

      I don’t think you (OP) are gonna find much better than a for-profit business with a good track record if you’re unwilling to use Letsencrypt.

      • A_norny_mousse@piefed.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        Which is in turn owned by a Swedish company.

        Can’t speak for OP, but for me it’s important that with e.g. Letsencrypt, I’m entering a contract under US law, and with ZeroSSL it’s under EU/Austrian law.

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

    What risk are you trying to mitigate, specifically?

    If it’s the CA taking over your site, control over your CA specifically doesn’t really give any advantage to an attacker (they would have to hijack traffic and provide a new certificate - nobody will notice if the certificate is from a different CA).

    Note that your CA cannot decrypt the exchanges between your server and its clients.

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

        which is still there if you are not using lets encrypt, because they can strongarm them to make a fake cert for your domain, and install a proxy repackaging HTTPS traffic with the fake certificate. all browsers trust the lets encrypt root certificate, so they won’t see anything suspicious.

        the only thing there today to detect this (but not avoid) is certificate transparency logs. all modern certificates are required to be added to this log, for the CA to remain compliant. but browsers are not checking the logs, that would be a lot of additional traffic and how do they decide if a certificate was created maliciously? also, lets encrypt could afford being noncompliant, browser vendors can’t realistically just distrust their root certificate, many sites would become inaccessible.

      • moonpiedumplings@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 month ago

        Edit: no, it doesn’t. Looking at the comments below, it’s public key crypto.

        Original comment:

        The problem is that if that is your threat model, then the VPS provider, ISP, and literally everything between you and letsencrypt can pull a conpromised key fro letsencrypt.

        This actually happened btw, an xmpp server was attacked this way, they compromised not the server itself, but the VPS provider MITMed their traffic: https://www.devever.net/~hl/xmpp-incident

        If your threat model involves this, then the only solution is Tor, which eliminates these requirements of trust.

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

      Are you sure they can’t decrypt? They have your certificate after all. Besides, if the Orange has a bad day, he can ban certificates export or just for a single company or individual.

      Edit: First two sentences were stupid, I apologize.

      • KyuubiNoKitsune@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        16
        ·
        1 month ago

        Yes, the private key never leaves your machine.

        You send them a certificate signing request with your public key, they put their verification stamp on it and send it to you.

        The only part they have to play is verifying that your certificate is trusted by a root certificate.

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

        The CA cannot decypt: they don’t have the secret key which only the server has. When requesting a new certificate from the CA, the server generated a secret key (aka private key) and then generated a derived public key that goes into a Certificate Signing Request (CSR). The CSR is what the CA receives, not the secret key, and then the CA returns the certificate file to the server, which has been endorsed by the CA and thus trusted by the user base.

        Phrased another way, a certificate is the instrument that confirms that a purported public key can in-fact be safely used, and that no MITM attack is happening (assuming you trust the CA that signed the cert). But once you’ve confirmed the public key, the rest of the cryptography is public key cryptography, meaning the secrecy of the secret key is the whole game.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        The certificate is only used for authentication. The actual data is encrypted with a temporary symmetric key that is generated via a diffie-hellman exchange

        Even if they had your private key they still wouldn’t be able to decrypt the data

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

        A MITM doesn’t require decrypting. It just requires telling a convincing enough lie to each side of a conversation that they think they’re talking to the other party. Then you end up encrypting to their key which they can just read. That’s different from breaking the encryption.

        Are you sure they can’t decrypt?

        No, and none of the state actors who do that kind of stuff will ever tell you. Watch The Imitation Game for a good/bad time and some context.

        If you had a break for the modern crypto schemes and published it right now you would shut down all digital commerce, a lot of the spy traffic if not most of it1, and nothing could be started back up again until everything was redone from scratch. Best hope would be that the post quantum algorithms2 the cryptographers have aren’t succeptible to whatever you did to break the existing algorithms. It’d take a bit to get the software implementations and keys in place, etc. The hardware stuff would take longer.

        • [1] The stuff using One Time Pads would still be fine, but its limitations wouldn’t take the place all of all the rest of it.
        • [2] The rollout of post quantum algorithms is going on now on a more accelerated schedule than originally planned.
        • bunchberry@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          Quantum computers only threaten asymmetric ciphers, so every symmetric cipher is still safe, not just one-time-pads but things like AES and ChaCha20 aren’t affected at all.

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

            Ah. That’s a misunderstanding on my part, and a good news story. Still don’t want to wake up tomorrow and see a published AES break, though.

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

    It is surprisingly easy to add a custom CA to phones and laptops. When I migrated to services using one with names like thisservice.lan I thought it would be a lot harder. I just have a generation script that makes a new cert and I throw it in NGINX.

    • rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 month ago

      Just don’t get too close to TV’s or streaming boxes. Wildly different levels of hell

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

        Very true. I do have a let’s encrypt wildcard cert that I also use with internal IPs for instances like this. But most of my items don’t require that.

        • rumba@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          awesome, I just setup traefik / le on an old sort domain of mine and make everything inside support https.

          Honestly, I was hoping to add client only certs on my jellyfin and open it to friends an family, but none of their streaming devices support it.

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

            Yea, I’ve recently learned LineageOS has an AndroidTV version that runs on a lot of devices, including the Pi. Been considering investigating that.

  • TrollAccount69@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    You need to restructure your priorities.

    Or use a ca, vps and dns provider that’s hostile to the west.

    It’s not a question of supporting “freedom” and if you insist that it is, I will gladly provide all those services to you for a slight markup (price of freedom!).

    • Allero@lemmy.today
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 month ago

      Let’s Encrypt is a certificate authority, the one making sure the green lock on HTTPS sites stays green.

      Veracrypt is an encryption software.

  • heartSagan5@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    I just self-host Bitwarden. I’d rather not allow the CIA to snoop on my passwords, and if law enforcement serves me a warrant, then I can furnish a list…though, I’m sure they’d just go to the service and ask them because “fuck you” of course.

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

        Nope, America bad! CIA has magic that let’s them break modern encryption because they employ John Hackerman!

        The amount of FUD in this thread is nuts, but I expect that from Internet people with very strong opinions about topics that theyre not particularly well informed on.

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

          I mean, “america” (specifically USA) bad, but that user has no idea bitwarden encrypts the password before sending it to the server.

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

            I’m not going to argue the USA is good at all, but yeah that was my point. People are freaking out because of the FUD going around about the capabilities of spy agencies, and the basic lack of curiosity to understand something even on the most basic level.

            Like honestly, people should be more worried about the owners of their browsers, since they actually can mark a certificate or chain as untrusted and have it mean something.