TLS Handshake - EVERYTHING that happens when you visit an HTTPS website

Sdílet
Vložit
  • čas přidán 16. 05. 2024
  • TLS (formerly SSL) is the protocol that makes it safe to do anything on the Internet. It's the protocol that enables that little padlock which gives you the green light to put in your password or bank account number. In order to get the padlock, however, something has to occur between you and the website you are visiting... that something is known as the TLS handshake.
    The TLS handshake validates the two endpoints in the conversation, and exchanges the cryptographic material used to create Session keys which will then protect the web browsing session with Encryption, Integrity, and Authentication.
    In this video, I'll show you every step of the handshake, what the client knows, what the server knows, and everything they exchange and learn from what is sent across the wire. I'll show you how they create each key involved in securing internet communication.
    To be clear, this Handshake also occurs every time you use an SSL VPN as well, and as time goes on, will be used anytime any communication occurs over a computer network.
    00:00 - Teaser / Intro
    00:40 - TLS Handshake - Background Information
    02:25 - Client and Server - the starting point
    03:12 - Client Hello - Version, Random Number, Session ID, Ciphers, Extensions
    05:16 - Server Hello - Version, Random Number, Session ID, Ciphers, Extensions
    07:58 - Server Certificate - Full Certificate Chain
    08:38 - Server Hello Done
    09:11 - Client Key Exchange - RSA Key Exchange
    11:36 - Pre Master Secret, Master Secret, Session Keys
    13:56 - SSL/TLS Create TWO secure tunnels
    15:53 - PseudoRandom Function (PRF)
    17:38 - Do the Client & Server know they have the right keys?
    18:22 - Change Cipher Spec (from Client)
    18:56 - Client Finished
    21:42 - Server Finished & Change Cipher Spec
    24:17 - Sharing Protected Application Data
    25:04 - Outro & Summary
    26:13 - TLS 1.3 Changes Everything... Practical TLS Discount
    🔑 More free lessons from the course:
    • Practical TLS - Free L...
    🔐 More details about the course:
    classes.pracnet.net/courses/p...
    🏢 Do you configure or troubleshoot TLS/SSL for work? If so, I'm willing to bet your employer would happily pay for this SSL training. Reach out if you'd like to coordinate an introduction for a bulk license purchase with your company. I'm happy to provide a generous referral bonus =)
    💬 Join Practical Networking Discord
    / discord
    #ssl #tls #cybersecurity
  • Věda a technologie

Komentáře • 180

  • @PracticalNetworking
    @PracticalNetworking  Před rokem +16

    👉 *More free lessons:* czcams.com/play/PLIFyRwBY_4bTwRX__Zn4-letrtpSj1mzY.html
    ✨ *Full course:* pracnet.net/tls
    💲 *Coupon Code* for 50% off: youtube50

    • @dilipbalaiyan6268
      @dilipbalaiyan6268 Před rokem +2

      I should salute for all your efforts of these videos. It's really helpful for me. You're massive of crispy to the point.
      I don't know where I can give you kudos for your work.. Thanks a lot.

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +2

      @@dilipbalaiyan6268 Glad you are getting a lot out of this content. If you're really wanting to help, the best way is to spread the word about this content =). Shares on Twitter/LinkedIn/Reddit are greatly appreciated. Cheers, Dilip.

    • @dilipbalaiyan6268
      @dilipbalaiyan6268 Před rokem +2

      @@PracticalNetworking definitely

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +1

      @@dilipbalaiyan6268 Thank you kindly =)

    • @cslb38
      @cslb38 Před rokem +1

      Its worth every penny, such a small price vs large reward! Great work Ed!

  • @AliYahyaabadi
    @AliYahyaabadi Před 4 měsíci +9

    I wanted to take a moment to thank you for your incredibly helpful tutorial on TLS/SSL. I'm so grateful that you took the time to create such a detailed and informative resource.

    • @PracticalNetworking
      @PracticalNetworking  Před 3 měsíci

      You're very welcome.
      If you want more, you might also enjoy the full TLS course as well.

  • @alirezajalali9265
    @alirezajalali9265 Před 8 měsíci +4

    after all these years in IT , now I fully understand TLS . thank you so much

  • @infomoreandmore
    @infomoreandmore Před 7 měsíci

    This is the best explanation so far I got around SSL handshake. Thanks a lot!

  • @yared09
    @yared09 Před 8 měsíci

    Crisp and clear explanation ever!

  • @poojarrao
    @poojarrao Před 8 měsíci

    This is by far the best explanation I’ve seen on the internet. Thank you so much for sharing!! I’m sure this video has helped a lot of us here :)

  • @power8667
    @power8667 Před 7 měsíci

    The best explanation of the concept on the internet I have seen! Thank you.

  • @justsomebody14
    @justsomebody14 Před 6 měsíci +3

    This is a gem! Thanks for your free course!

  • @shajigopinath
    @shajigopinath Před 11 měsíci

    One of the best session which i watched. Thanks for the detailed and clean explanation.

  • @user-up7uj7ky3k
    @user-up7uj7ky3k Před 3 měsíci

    One of the absolute best training videos I've watched in the recent past! The author seems to have an impressive understanding of the audience new to the topic. Pacing of the video is spot-on for me, making the learning experience truly captivating

  • @umairsafdar7444
    @umairsafdar7444 Před rokem +22

    One of the best and highly detailed explanations of TLS Handshake.
    Thanks for putting this out for free !!

  • @chiefriver
    @chiefriver Před 5 měsíci +7

    Thanks for all your quick responses here and on Twitter! Until I buy a class just wanted to say thanks as you are great at fulfilling your mission of bridging the gap between overly technical documentation, RFCs etc and simplified examples that leave us with more questions than answer!!!
    Keep it going and thanks again!!

    • @PracticalNetworking
      @PracticalNetworking  Před 5 měsíci +1

      Thanks for the kind words. Glad to help. Thanks for supporting the channel =)

  • @ericschneider2546
    @ericschneider2546 Před 4 měsíci

    OMG! Thank you so much!!! This was EXACTLY the video I needed to understand what was missing, and I was looking for it so badly! Best explanation ever!

  • @alfiogiuffrida1007
    @alfiogiuffrida1007 Před 7 měsíci

    Great course! Very well explained. Thanks!

  • @AbhishekD538
    @AbhishekD538 Před měsícem +1

    Really appreciate all the work you do! This was very helpful, clear and detailed at the right level of abstraction. Thank you. 🙏

  • @mujahid509
    @mujahid509 Před 3 měsíci +1

    Lucky to come across this explanation..best for SSL handshake

  • @gedankenthesis
    @gedankenthesis Před rokem +1

    This explanation was absolutely amazing! Thank you so much!

  • @DG-fs1pq
    @DG-fs1pq Před rokem +1

    I finally purchased your Practical TLS class last night. Ready!!!

  • @scottspa74
    @scottspa74 Před rokem +4

    I'll DEFINITELY be rewatching this! Also, great way to incentivize yourself to finish up TLS 1.3 👍😁 Can't wait for that!

  • @michaelmendoza9824
    @michaelmendoza9824 Před 8 měsíci +1

    Simply and ABSOLUTELY fantastic content! I’m sold and now a paid course subscribed student looking forward to consuming ALL the content and putting it to practical use! Kudos! MM

  • @RowenaReddragon
    @RowenaReddragon Před rokem +1

    you are hands down the best teacher! i cant thank you enough. truly grateful 🙏

  • @misha2082
    @misha2082 Před rokem

    Wow. What a great video. I definitely learned something new today about SSL keys

  • @muhammadumarwaseem
    @muhammadumarwaseem Před 6 měsíci +1

    You sir, are a legend! Great video, well explained.

  • @ghinwabadawi983
    @ghinwabadawi983 Před měsícem

    best explanation about TLS Handshake! loved it!

  • @ankitsharma-ef3cs
    @ankitsharma-ef3cs Před rokem +2

    OMG !!
    What an explanation Ed.
    This is the best content for TLS-Handshake and i'm so glad to find.
    Lots of love from INDIA
    💌

  • @jhde9067
    @jhde9067 Před rokem +3

    I'm glad I subscribed to the channel after finding the website.

  • @cslb38
    @cslb38 Před rokem +1

    Yet again an amazing demonstration of excellence!

  • @amzathblaiseyehouessi7028
    @amzathblaiseyehouessi7028 Před 7 měsíci +1

    I hit the LIKE button 6 times to give you tha round of applause. You actually deserve it more than me. Thank you!

    • @PracticalNetworking
      @PracticalNetworking  Před 6 měsíci +1

      Thanks for the kind words and your support =) And the six likes ! ;)

  • @MohammadJK197
    @MohammadJK197 Před 2 měsíci +1

    very detailed and easy to understand. This was awesome, thank you

  • @kevinlupien9520
    @kevinlupien9520 Před rokem

    Always high quality content. Thanks!

  • @olsikapoli6287
    @olsikapoli6287 Před 8 měsíci

    Great course Ed! I have a question on the Cipher Suites used (trying to go through the comments if it was asked before, but can't seem to find it, therefore I apologize for asking "again"). In TLS1.3, all RSA encryption and RSA cipher suites have been removed. The video started by Client having TLS1.3, but did not mention TLS1.2 libraries as well. Is it assumed in this course that Client and Server have both 1.2 and 1.3 for this handshake to work for this course?

  • @rudrasalaria3431
    @rudrasalaria3431 Před rokem +2

    As always you clear my doubt aboutTLS 1.2. Thank U Sir. Lots of Love from india. ❤️🇮🇳

  • @satishbabugudapati9741
    @satishbabugudapati9741 Před rokem +7

    This was beautiful video on internet. Thanks Ed

  • @orilio3311
    @orilio3311 Před 10 měsíci +1

    absolutely incredible video. this is the one greatest explenation of TLS I've managed to find. thank you! I hope my cyber security course test score will show I've understood the protocol :)

  • @aleksandrkubar6255
    @aleksandrkubar6255 Před 11 měsíci

    Perfect explanation, thanks!

  • @CyberTronics
    @CyberTronics Před rokem +2

    Beautiful can’t wait for the TLS 1.3

  • @nishantdalvi9470
    @nishantdalvi9470 Před 8 měsíci

    This vide is awesome 💯 just having a little doubt from where did that key expansion field come which is been used for the formation of the session keys

  • @jhde9067
    @jhde9067 Před rokem +2

    OMG THANK YOU SO MUCH, I NEEDED THIS. Not sure many made it as clear and detailed as that.

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +1

      Glad this helped =). Please feel free to share it if you know others that might also benefit from this.

  • @duckduck9954
    @duckduck9954 Před rokem

    One of the best explanation

  • @Felitsius
    @Felitsius Před 4 měsíci

    Wow that was such a good explanation! Thank you heaps, I wish my tutors had a similar skill to transfer knowledge - it is a skillset of its own!

  • @sarathreddy844
    @sarathreddy844 Před 4 měsíci

    Highly knowledgeable content!

  • @bd5387
    @bd5387 Před 5 měsíci

    Awesome! Thanks man. Great stuff.

  • @negrastormentas2865
    @negrastormentas2865 Před 10 měsíci

    Thank you so much for this series.

  • @cvasilak
    @cvasilak Před rokem +1

    excellent description, thank you!

  • @scottspa74
    @scottspa74 Před rokem +17

    As someone lucky enough to have won access to the full TLS course, I have to agree that there is enough detailed content in it to answer any questions a person may have after watching this. Excellent course! Definitely worth the cost! 👍 Really, really looking forward to 1.3 with quic.

  • @trailerhaul8200
    @trailerhaul8200 Před rokem +1

    Man 100K subscribers. It was way less a year ago. You are Networking great :))

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      Progress has been slow and steady, but it finally got to 100k =). Excited to see where it goes next !

  • @AbhishekSingh-xn4qb
    @AbhishekSingh-xn4qb Před 9 měsíci +1

    Hey someone, can you please come back & remove your 'single' DISLIKE from this video please.
    This insightful video doesn't deserve dislike at all.

  • @rahmounmedelmahdi4181

    you know the video is good when you spend 2 hours on watching 30 min good job. I wish there were free access to the rest of the content.

  • @user-ds2yw2ct9n
    @user-ds2yw2ct9n Před 13 dny

    A very good lullaby!

  • @mortezarezaei3006
    @mortezarezaei3006 Před rokem +1

    Thanks for the informative video.

  • @zerooneservices
    @zerooneservices Před rokem +1

    Thanks for such an informative video.

  • @h.b.7190
    @h.b.7190 Před 3 měsíci +1

    I want to Thank you for all the content you made to create such a wonderful playlist. It took me a while to understand whats going but it all makes sense. It’s so fascinating and it blows my mind that smart people created a secure tunnel for secure communications.
    Me in my 30s as a employee in a facility management company trying to make a step into information technology and let my path of life go in a new direction.
    Unfortunately I can not afford a full TLS course from your website but let me spend you a coffee at least.
    Thank you so much man. God bless you
    Is there name of your song you always use for intros? I would like to listen to it, while thinking about the TLS handshake step by step 😊

    • @PracticalNetworking
      @PracticalNetworking  Před 3 měsíci

      Thanks for the kind words, and thank you for supporting the channel.
      I'm at the gym at the moment, and don't recall what song I used in this video.
      But if you reach out to me on discord, I'll tell you the song... And gift you a scholarship to the course.

  • @sushilshiwaniwal
    @sushilshiwaniwal Před měsícem

    Very Well Explained, Thanks 😊

  • @santozard
    @santozard Před rokem

    Best of best!

  • @aniruddhsharma8342
    @aniruddhsharma8342 Před rokem

    Must say that if we were to speak of only the Handshake then this is the best video, would request you to cover the Certificate Change of Trust, Record and Alert Protocol as well. Thank you

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      GLad you enjoyed this video, Aniruddh! The rest of those topics are covered in the full course!

  • @constantincoach372
    @constantincoach372 Před 22 dny

    Love the content

  • @pixelmage3523
    @pixelmage3523 Před rokem +3

    holy fuck this blew my mind as to how easy it was to understand it

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +1

      Anything can be easy if it's explained well. Glad you enjoyed this video =)

  • @jyothibabugummapu1365
    @jyothibabugummapu1365 Před 5 měsíci

    Awesome...thanks alot

  • @Sharing.learnings
    @Sharing.learnings Před 11 měsíci

    Great content

  • @chrisfahie2767
    @chrisfahie2767 Před rokem +1

    Wow thank you so much that really helped

  • @alexandrkovalsky1711
    @alexandrkovalsky1711 Před rokem

    great video!

  • @riadali1775
    @riadali1775 Před rokem

    Thank you so much! your video really helped alot. can you make video related to DNS management as well?

  • @user-sw3sw2ur3g
    @user-sw3sw2ur3g Před 7 měsíci +2

    Hi! I study cryptography and your videos are the best in the whole Internet! Could you please specify the exact way of combining pre-master key\master-key with random values and strings before putting them into PRF? With love from Ukraine

  • @estebanechavarria5609
    @estebanechavarria5609 Před rokem +2

    I was so shocked about all the things that are being done behind the scenes when you access an https website that I'm thinking that I would be exhausted and do not want to exchange data anymore after that long handshake haha

  • @edwinjose1885
    @edwinjose1885 Před 8 měsíci

    Could you help clarify what's been explain at 14:40? The concept of two tunnels. Up until that point you've been saying that the keys both the client and the server have are identical. But you go into how TLS creates two tunnels and they are encrypted with two different pair of keys, and that even if one of the tunnel's been comprised, the attacker can only decrypt that tunnel and not the other. How does that work? Aren't both set of keys the same?

    • @edwinjose1885
      @edwinjose1885 Před 8 měsíci

      I think I may have understood it. BOTH the CLIENT and SERVER generates a SEED for it's respective tunnels that BOTH perform a RSA Key exchange for. Correct me if I'm wrong.

  • @mharis6728
    @mharis6728 Před 5 měsíci

    Thanks for this video. I have a question related to session keys generation. How Master Secret, Client and server random and "key expansion" are used or combined in order to generate these 4 session keys? My second question is how Master secret is actually generated? You said we combine Pre-Master secret, client and server random and "Master Secret" but what mechanism or algorithm is used to generate it?

  • @elvismalope
    @elvismalope Před rokem +1

    Thanks!

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      Hi Elvis! Thank you for supporting the channel. Contributions like this help support the continued development of free content for everyone else.
      If anyone else reads this comment, you should thank Elvis for funding the free resources you are enjoying.
      Thanks again, Elvis!

  • @rajrajesh
    @rajrajesh Před rokem +1

    Great video. For @17.00 - Can you please help clarify if the client encryption key gets generated individually at the client and the server? If so, client and server have the same set of 4 pieces of information (Master Secret, key expansion, Client Random, Server Random) that is used for the random hash function. But how is it guaranteed that the random hash function returns the same value both at the client and the server?

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      The nature of Hashing is that if the Client and Server hash the same pieces of information, they will receive the same output. That is what is happening here, and how the encryption keys calculated by both Client and Server end up being identical.

    • @nikbura9500
      @nikbura9500 Před rokem

      @@PracticalNetworking To Clarify this further, does this mean that the Client keys are generated using the client random number and the server keys are using the server random number to be generated? otherwise how can you make two sets of keys individually on each host and ensure both sets are the same?

  • @tanmoymallick8244
    @tanmoymallick8244 Před rokem

    did you upload the video for the packet capture of tls handshake that you said here ???

  • @babai08
    @babai08 Před rokem

    U better live 100 more years ❤️❤️

  • @matiashuartamendia7977
    @matiashuartamendia7977 Před 7 měsíci +1

    so RSA only here for key exchange? no encryption other than symmetric keys? is it then that the symmetric cipher comes into play with the keys to encrypt the payloads?
    is the hashing of handshake determined by cipher suite selecion for example SHA1?

    • @PracticalNetworking
      @PracticalNetworking  Před 6 měsíci +1

      Correct. RSA just facilitates the key exchange, and signatures. It doesn't do any real encryption of data sent being client and server.
      Yes, hashing is determined by Cipher Suite selection.

  • @encryptionforbeginners96

    Danke!

  • @rico5342
    @rico5342 Před rokem

    How long does this to-and-back TLS handshake procedure take ?

  • @vishal57971
    @vishal57971 Před 5 měsíci

    My question is client send lists of cipher suite to server. What mechanism is work on server side and server choice one of cipher suite that client send in hello message

  • @majiddehbi9186
    @majiddehbi9186 Před rokem +1

    great video thx

  • @saravananm9783
    @saravananm9783 Před rokem +1

    Great content😊😇.. But, .I stucked in some points.. What is exactly "masterkey" inside the "pre-master key". And then "servers finished".? Is that same value both side?

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +1

      "pre-master-key" is a random value generated by the client (at least, with the version of the handshake illustrated in the video).
      This random value is combined with other values to create the "Master Secret".
      Which is then combined with yet other values, such as the literal string "Server Finished", to create the actual Session Keys

    • @saravananm9783
      @saravananm9783 Před rokem +1

      Thanks😊..

  • @radhakrishna2501
    @radhakrishna2501 Před rokem +1

    Thanks a lot Ed! I have a query regarding slowness issue between two servers (these servers residing in DC and branch office and communicating via meraki vpn) this issue occuring after upgrading our gear to meraki not sure what's the issue here could you help me with some troubleshooting steps please
    Thanks in advance

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      That seems pretty involved, much more involved than what is appropriate for CZcams comments. You can try to ask in discord (pracnet.net/discord) but the issue is borderline something that would require hiring a consultant (which, I'm available for, if you are interested).

    • @radhakrishna2501
      @radhakrishna2501 Před rokem +1

      @@PracticalNetworking thank you for the reply Ed! It indeed need consultant view will have a word with my manager on this and get back to you thank you again

  • @shervinhariri6821
    @shervinhariri6821 Před rokem

    Awsome

  • @Sharing.learnings
    @Sharing.learnings Před 11 měsíci

    Yeah good content1

  • @chiefriver
    @chiefriver Před 5 měsíci +1

    Any videos doing a similar walk through but with Diffiehellman key exchange? Specifically on and where in the flow the client verifies that the server does possess the long term private key that corresponds with the earlier served x509 cert? Because it doesn't need to send a premaster secret like RSA where is this same validation check performed with Diffiehellman? Ex 11:10

    • @PracticalNetworking
      @PracticalNetworking  Před 5 měsíci

      Great question! I don't have a video answer but the pinned post on my Twitter is exactly what you asked for: a walk through of the TLS handshake using diffie hellman as a key exchange. =)

  • @Whowhatsit
    @Whowhatsit Před rokem

    Gunna be using this for my brown bag report at work, big thanks for the save!

  • @VSHALETC
    @VSHALETC Před rokem

    Simply great!
    Is it possible for you to make small introduction video on web3?

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +1

      Web3 is on my list to cover, at some point. But a lot is in front of it =/

  • @aaqibshafiq5468
    @aaqibshafiq5468 Před 4 měsíci

  • @atabhatti6010
    @atabhatti6010 Před rokem +2

    At 5:56, the slide says Session Id in the Server Hello is 8 bytes / 32 bits? Is that right? Aren't 8 bytes 64 bits?

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +1

      Yea, that's totally a typo. Someone mentioned this in my discord as well. It should say any range in 0-32 bytes.
      In reality, there is one field "Session ID Length" which is always 1 byte (8 bits, values 0-255, of which only 0-32 are valid) which indicates how long the actual "Session ID" field will be.

  • @avinashs8236
    @avinashs8236 Před 2 měsíci +1

    does tcp handshake (sync, syn-ack, ack ) happen before this ssl/tls handshake when a user visits a website

    • @PracticalNetworking
      @PracticalNetworking  Před 2 měsíci

      Yes, typically. There is a version of TLS over UDP that doesn't involve TCP 3 way handshake, but generally most TLS does.
      I have some videos on TCP here : pracnet.net/tcp

  • @joetecson
    @joetecson Před 14 dny

    Q: If a client initiates TLS 1.0 to a server and gets denied, will it open a new stream to renegotiate the higher TLS with the server or will it use the same quintuple stream on renegotiation?

  • @anmarofficial4953
    @anmarofficial4953 Před rokem +1

    Sir I studied bachelor of computer applications as degree (three year course)
    Intrested to study deep on network
    So starting a carrier which course benefit me
    CCNA or CEH COURSE

  • @rajesh_shrestha
    @rajesh_shrestha Před rokem

    hello sir, this is the best explanation video thank you for the insight also i have took your video as a reference for my internal presentation purpose.
    i have one question - is the client and the server Encryption key are exact same or not ?, if not than how it is calculated ?
    can you please provide me some idea about this.

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +1

      Yes, they are the same. They have to be since they are _Symmetric_ Encryption keys. =)

    • @rajesh_shrestha
      @rajesh_shrestha Před rokem

      @@PracticalNetworking thank you sir, i got it now.

  • @marouenbadrani3056
    @marouenbadrani3056 Před rokem

    I have a question please, is the server hello encrypted? if so what is the encryption scheme? I understood that the client doesn't know yet the server's public key, so did the client's and server's hello messages not encrypted? I had understood through many tutorials and courses that the session ID should remain secret to avoid session hijack. so how come the server encrypts the server hello?

    • @marouenbadrani3056
      @marouenbadrani3056 Před rokem

      and thank you for your great videos :)

    • @marouenbadrani3056
      @marouenbadrani3056 Před rokem

      Also, is there only one PRF function to use? if not, haw both sides know the wright PRF function to use to generate the master key and the sessions keys

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +1

      Server Hello is not encrypted =) Neither is the Client Hello.,
      There is some talk in TLS 1.3 of enabling encrypted Client Hellos, but that comes with other requirements. For the most part, all Client Hellos and Server Hellos will be unencrypted.

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +1

      @@marouenbadrani3056 The PRF is baked into the RFC, so if the Client/Server are doing "TLS 1.2", then they know exactly how the PRF works.
      Internally, the PRF uses a hashing algorithm, and that is negotiated in the Cipher Suite.

  • @itamardoron5587
    @itamardoron5587 Před rokem

    If the client gets the certificate alongside the public key after the client and server hello (8:50) then how are the client and server "hello" encrypted?

    • @itamardoron5587
      @itamardoron5587 Před rokem

      And if it is not encrypted, is that not a risk to have the client and server random numbers public? Would it not make it easier to derive the pre master/ master secret?

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      Great question, and follow on question. No, the Client & Server Hello are not encrypted.
      ANd no, the random numbers alone cannot be used to recreate the session keys, so them being shared in clear text is not an additional risk.

  • @vijaypatil1587
    @vijaypatil1587 Před rokem

    Amazing explanation.

  • @earnwisely3256
    @earnwisely3256 Před 3 měsíci +1

    should the session id be 8bytes / 64bits?

    • @PracticalNetworking
      @PracticalNetworking  Před 3 měsíci

      Yea, that's a typo. It's fixed in a note in my full course.
      It's actually 32 bytes (256 bits).

  • @bernardoolisan1010
    @bernardoolisan1010 Před měsícem +1

    This is amazing, but people... why can't we just trust each other!

  • @silentrandom
    @silentrandom Před 10 měsíci +1

    Awesome content. Session Id 8 bytes or 64 bit. Just typo I guess

    • @PracticalNetworking
      @PracticalNetworking  Před 10 měsíci

      Yes, it's a typo, good catch =). I clarify it in the TLS 1.3 handshake lesson in the course.

  • @singernooneheard6967
    @singernooneheard6967 Před 9 měsíci

    Excellent videos ....but price still too high for an Indian

  • @pradeepgenisis
    @pradeepgenisis Před 9 měsíci +1

    What is SEED ?

    • @PracticalNetworking
      @PracticalNetworking  Před 8 měsíci

      It's merely a value which is typically the result of some sort of Key Exchange operation. This value is used to generate many different symmetric keys, hence I'm referring to it as the "seed" value. In this video on Diffie-Hellman, the seed value is the number 3. czcams.com/video/KXq065YrpiU/video.html

  • @martinvonromualdez8175

    what if the key session is not the same ? what happened ?

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      Encryption Error and the Handshake fails. This would only happen if someone was tampering with the handshake and/or if something went wrong.

  • @talesara74
    @talesara74 Před 10 měsíci

    At 13:54 you are saying that both sides have same identical keys...and in next few seconds you are saying why 2 different sets of keys. Are the keys identical or different at both ends ? it has to identical right.

    • @PracticalNetworking
      @PracticalNetworking  Před 8 měsíci

      Two different sets of two keys. Totaling 4 keys. And _both sides_ have the same set of _four keys_ . Yes, you are right, they have to be identical or else the peers could not do symmetric encryption of data (and it's decryption, of course) with each other. =)

  • @gpmuthu248
    @gpmuthu248 Před rokem +1

    IPsec deep dive series 🥺 please..

  • @siavashsabet2462
    @siavashsabet2462 Před 11 měsíci +1

    5:23 isnt 8bytes the same as 64 bits? Why does it say 32?

    • @PracticalNetworking
      @PracticalNetworking  Před 11 měsíci +1

      Yea, that's a typo =) it's fixed in the TLS 1.3 handshake video =)

    • @siavashsabet2462
      @siavashsabet2462 Před 11 měsíci

      @@PracticalNetworking thank you so much, I am very new at this, just trying to make sure I understand everything. 😅