this post was submitted on 21 May 2024
96 points (92.1% liked)

Technology

59534 readers
3195 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

So this video explains how https works. What I don't get is what if a hacker in the middle pretended to be the server and provided me with the box and the public key. wouldn't he be able to decrypt the message with his private key? I'm not a tech expert, but just curious and trying to learn.

you are viewing a single comment's thread
view the rest of the comments
[–] NeoNachtwaechter@lemmy.world 1 points 6 months ago (8 children)

people will happily click 'continue anyway'

Not possible without a certificate. There will be no TLS connection, only an error message. No 'click continue'.

[–] aBundleOfFerrets@sh.itjust.works 2 points 6 months ago (7 children)

It is trivial for an attacker to make self-signed TLS certs, and you can absolutely just click “continue” on sites that use them when you get a warning from the browser

[–] NeoNachtwaechter@lemmy.world 1 points 6 months ago (6 children)
[–] Cras@feddit.uk 3 points 6 months ago

Firefox, Chrome, Edge, will all warn you about self-signed certs or cert mismatches but allow you to continue. You're completely correct that SSL/TLS needs a certificate, but it doesn't need to be CA issued or in any way legitimate for the encrypted tunnel to be established

load more comments (5 replies)
load more comments (5 replies)
load more comments (5 replies)