• PowerCrazy@lemmy.ml
    link
    fedilink
    arrow-up
    0
    arrow-down
    4
    ·
    1 year ago

    That’s where the SSH analogy comes from. On the initial connection you get the signature of the web-site you are trying to visit and your browser trusts it from then on. If something changes later, then the scary warning comes up.

    • ToxicWaste@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I hope for you, that you don’t SSH into any random machine and just import their cert.

      Usually you know the machines you are trying to connect to. That gives you the ability to add their cert to your trusted hosts before connecting the first time. So for browsing the WWW this makes not much sense, since you connect to way too many unknown hosts. It would create a ‘red is green’ mentality where users just import any unknown cert.

      The only similarity i see, which makes sense, would be e-banking and such. The bank could send you their certificate with the login credentials by post.

      • PowerCrazy@lemmy.ml
        link
        fedilink
        arrow-up
        0
        arrow-down
        5
        ·
        1 year ago

        Why? There is absolutely zero risk in SSHing into “random” machines especially since I’m using public ssh-keys. Of course the first time I connect to a machine it’s going to be untrusted, but who cares? I’m using SSH to ensure others can’t sniff my traffic.

        • ToxicWaste@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          If i want to sniff your traffic, ill set up another machine as MITM attack.

          I guess as long as you stay inside a secure company network, it wouldn’t be that bad. But if you go through the WWW, my advice is to manually add trusted hosts.

          • PowerCrazy@lemmy.ml
            link
            fedilink
            arrow-up
            0
            arrow-down
            5
            ·
            1 year ago

            Setting up a mitm on the internet is a non-trivial task and I’m quite confident you have neither the access, nor the ability to do that. Very few people do. So let’s just say that isn’t an attack vector that anyone should be concerned with.