SSL/TLS handshake Protocol

Please support my channel by becoming a Sunny Classroom member. Your support is much appreciated.
/ sunnyclassroom
What protocol is used between a web server and its clients to establish trust? How do they negotiate and share the secret key? During the handshake process, how public key encryption algorithm is used and how private key encryption is used? In this video, you would find all these answers.
Playlist: Advanced Cryptography -
• What is digital signat...
Playlist: Basic Cryptography
• Private Key Encryption...
Please subscribe to my channel!
Please leave comments or questions!
Many thanks,
Sunny Classroom

Пікірлер: 382

  • @spaceman117X
    @spaceman117X6 жыл бұрын

    I put your video on 1,25X speed, and it sounds even better!

  • @sunnyclassroom24

    @sunnyclassroom24

    6 жыл бұрын

    I will speed it up: haha.

  • @salemabozeid3501

    @salemabozeid3501

    5 жыл бұрын

    The speed is perfect for non native English speakers like me... and I think Mr.Sunny but in his mind this.. and this is why he always provide subtitles. Thank you Mr.Sunny.

  • @Leaveit349

    @Leaveit349

    5 жыл бұрын

    Haha

  • @Henuntl23

    @Henuntl23

    5 жыл бұрын

    thank you

  • @slimhadri

    @slimhadri

    5 жыл бұрын

    thanks

  • @stevenjchang
    @stevenjchang5 жыл бұрын

    Great Job Sunny!! I can't believe how many videos I had to watch until someone actually explained this concept. Every other video was a complete waste of time. I really enjoyed the clear details and breakdown of the process.

  • @sunnyclassroom24

    @sunnyclassroom24

    5 жыл бұрын

    Thank you very much for your nice words. I will try my best to keep up with your compliment.

  • @rsodeyi
    @rsodeyi2 жыл бұрын

    3 years later and these videos are still great learning and reference material. Thanks very much 👍🏾

  • @luismesa2844
    @luismesa28444 жыл бұрын

    Very detailed explained! Thank you for the video. On step 2, the server's digital certificate IS the server's public key, signed by the CA. It brings a lot of confusion to a lot of people not being told clearly that a certificate is just a public key whose ownership has been certified by a CA. So you can basically say that the certificate is what is used to encrypt the client key, once the CA signing it has been verified.

  • @JoaoCampos94

    @JoaoCampos94

    2 жыл бұрын

    Comment deserves to be pinned to the top. I was wondering why a man in the middle couldn't just eavesdrop and replace the server public key with it's own. Now it makes sense

  • @leonelmessi3010

    @leonelmessi3010

    Жыл бұрын

    Yes Certifcate must be encrypted by Public key first. Otherwise anyone can steal the certificate and duplicate it.

  • @mandeepwalia7128
    @mandeepwalia71282 жыл бұрын

    Clear; Concise; Comprehensible! Well Done and Thank You for breaking SSL/TLS, high-level essentials down so amicably. Will check out your other Classroom topics. Keep it going!

  • @zma3465
    @zma34655 жыл бұрын

    thank you, nice animation which saves me a few hours. this is the best video i've seen about how ssl works.

  • @ahmedareem9599

    @ahmedareem9599

    4 жыл бұрын

    AGREE

  • @TheZiZaZo
    @TheZiZaZo6 жыл бұрын

    Thank you for the video! I appreciate you taking your time and getting in depth about this! A lot of videos are too vague/general for my liking.

  • @hellenoz
    @hellenoz4 жыл бұрын

    I love how you explain stuff and everything is to the point and the info is valuable. Thank you! I am subscribing definitely

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    Thank you very much!

  • @Forky218
    @Forky2184 жыл бұрын

    Thank you for your very synthesized videos, very very useful. Master class in 5 minutes about the basic concept of SSL you smashed it!

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    You are welcome! Thanks a lot for your compliment.

  • @cody3509
    @cody35094 жыл бұрын

    Sunny, you've helped me with a lot of my cryptography assignments. thanks a ton!

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    I am glad my videos help you.

  • @amandasmith593
    @amandasmith5933 жыл бұрын

    Very helpful! I was confused by the way my textbook worded this, but this explanation cleared it up for me!

  • @gionieto1741
    @gionieto17414 жыл бұрын

    2020 and is still one of my favorite video, excelent explanation, thank you so much

  • @SeamusMcNeil
    @SeamusMcNeil5 жыл бұрын

    Thank you sir for a great video - I am learning this and at the early days. I come from a network background so dealing with SSL/TLS is a new thing for me. All the best and thanks again. Jim

  • @sunnyclassroom24

    @sunnyclassroom24

    5 жыл бұрын

    I am glad this video is helpful. You are welcome.

  • @ziyizhang3498
    @ziyizhang34985 жыл бұрын

    Great explanation! Looking forward to more helpful videos about network and security. Thanks!

  • @nksgopikrishnan
    @nksgopikrishnan3 жыл бұрын

    Crisp and clear! Just what I was looking for! Thanks Sunny! It helped!

  • @zidanetribal2343
    @zidanetribal23433 жыл бұрын

    Very helpful and useful specially for people like me who wants to recall the concept of trust, digital certs., SSL/TLS handshake and PKI. Thank you so much Mr. Sunny.

  • @vishalverma5280
    @vishalverma52806 жыл бұрын

    sunny ! u just revived all i was striving to recall.

  • @talktomeormailme
    @talktomeormailme4 жыл бұрын

    Awesome explanation sunny! Really clear. Appreciate it and keep up your good work!

  • @mathewjmanavalan
    @mathewjmanavalan4 жыл бұрын

    Excellent video Sunny ! Simple and to the point !

  • @dirkxi
    @dirkxi6 жыл бұрын

    Excellent work! Thanks for this!

  • @sunnyclassroom24

    @sunnyclassroom24

    6 жыл бұрын

    You are welcome!

  • @moorthyrekapalli1215
    @moorthyrekapalli12154 жыл бұрын

    Thank you very much for explaining in a way that is easy to understand. Watched several videos before this and it was still confusing. Glad that I came across your video. Thank you for your contributions.

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    You're very welcome!

  • @mukeshnuvvula9782
    @mukeshnuvvula97826 жыл бұрын

    Thanks for the great explanation

  • @milesemanuelpaavola7994
    @milesemanuelpaavola79945 жыл бұрын

    Great series of videos. They help immensely with my studies in electrical engineering. Thank You :-D

  • @sunnyclassroom24

    @sunnyclassroom24

    5 жыл бұрын

    you are welcome!

  • @vivian1779
    @vivian17792 жыл бұрын

    Thank you for this detailed explained tutorial/video!

  • @IcarianX
    @IcarianX4 жыл бұрын

    I prefer to think of the public key as a portable safe and the private key as the key for the portable safe. Bob wants to send a message to Jane. Bob asks for Jane's portable safe. Jane gives Bob her portable safe but keeps the key. Bob puts the message in Jane's safe, shuts the door, then sends the portable safe back to Jane. Jane uses her key to open the safe and read Bob's message. The (private) key never leaves Jane's house, only the portable safe does. The safe is pretty heavy so you don't want to do it every time. So you only do it once at the start, to share a secret cipher to encrypt all subsequent messages.

  • @5gun1

    @5gun1

    3 жыл бұрын

    Bro you single handedly made this make more sense to me than anyone could. Thank you so much.

  • @IcarianX

    @IcarianX

    3 жыл бұрын

    @@5gun1 Thanks, glad it helped! i always thought the idea of a key unlocking another key was weird, so the idea of a key unlocking a safe just made more sense to me!

  • @AD34534
    @AD34534 Жыл бұрын

    The best networking teacher ever. Thanks Sunny!

  • @bsherman8236
    @bsherman82362 жыл бұрын

    This is too good, amazing how simple it is

  • @2sourcerer
    @2sourcerer4 жыл бұрын

    It wasn't until I stumbled upon your channel have these things become all clear to me. I've been not able to understand how certificate, digital signature, and SSL, HTTPS and the likes works for years. Too many videos articles go into details with the missing pieces at the high-level or not explaining the how at all. Now that I understand it, I can see how horrible many of these materials are at explaining things. Thank you so much. Now I can read other detailed articles with much more clarity. Thanks again!

  • @2sourcerer

    @2sourcerer

    2 жыл бұрын

    Now that I know more about this topic. It seems a little too simplified for me. Computerphile gives more details.

  • @ak13three
    @ak13three Жыл бұрын

    Excellent explanation, in simple language. Thanks for taking the time to explain this concept.

  • @allanlimaverde6201
    @allanlimaverde62012 жыл бұрын

    That's one of the best explanations I've seen. Thank you and congrats!

  • @staj
    @staj4 жыл бұрын

    Brilliantly simplified explanation, thanks a lot Sir!

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    Thank you and you are welcome.

  • @UralaTAO
    @UralaTAO3 жыл бұрын

    Thanks for the lovely delivery of the information.

  • @Gattsu1986
    @Gattsu19864 жыл бұрын

    Probably the best explanation our there in my opinion, fantastic content - thanks!

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    You are welcome and thank you very much for your nice comment!

  • @dj.coda.newyork
    @dj.coda.newyork5 жыл бұрын

    This is a fabulous explanation!

  • @carterash2588
    @carterash25883 жыл бұрын

    Great video I you explained this in such a simple way and it makes it easy to follow along!

  • @marcosalameh8677
    @marcosalameh86772 жыл бұрын

    this is the best video i've seen about how ssl works.

  • @techlearner4806
    @techlearner48063 жыл бұрын

    Thanks Sunny, not just for helpful video but also for easy language.

  • @shankaraklod
    @shankaraklod2 жыл бұрын

    Thank you for making concept so crystal clear

  • @user-jh6dy9rc4u
    @user-jh6dy9rc4u5 жыл бұрын

    Thanks a lot for this amazingly explanation Mr.Sunny , this video was very helpful 💜

  • @sunnyclassroom24

    @sunnyclassroom24

    5 жыл бұрын

    you are welcome!

  • @umer1712
    @umer17124 жыл бұрын

    Thank you so much Sunny. Your explanation on each topic is clear and concise.

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    Glad it was helpful!

  • @sachinsenakulk
    @sachinsenakulk5 жыл бұрын

    Ultimate explanation 👏👏

  • @mattia_1374
    @mattia_13743 жыл бұрын

    Best explanation ever! Thank you very much!

  • @nitinchikane4707
    @nitinchikane47073 ай бұрын

    What a explanation! Really appreciate for expalning this complex topic in very simple way.

  • @mohamedeljahmi2454
    @mohamedeljahmi24544 жыл бұрын

    Very helpful and clear. Thank you.

  • @pramodvasista
    @pramodvasista2 жыл бұрын

    V well illustrated, good job

  • @aravindsubramaniam4474
    @aravindsubramaniam44746 жыл бұрын

    Thank you So much Sunny! Your Videos are Great!!

  • @sunnyclassroom24

    @sunnyclassroom24

    6 жыл бұрын

    Thanks a lot!

  • @haoyang4936
    @haoyang49363 жыл бұрын

    you are the best in my leaning trip, thanks great video!

  • @WaleBusari
    @WaleBusari3 жыл бұрын

    you're excellent in teaching, thanks for the simplicity explanation

  • @sunnyclassroom24

    @sunnyclassroom24

    3 жыл бұрын

    Glad it was helpful!

  • @nityadeepika1967
    @nityadeepika19673 жыл бұрын

    Wow Sunny ! awesome crisp explanation :)

  • @hirenpatel9678
    @hirenpatel96782 жыл бұрын

    Thank you. This was very helpful and informative!

  • @asoteico9528
    @asoteico95284 жыл бұрын

    Greatly done Sunny...!!!

  • @kristophskidoo324
    @kristophskidoo3244 жыл бұрын

    it is crazy that all this is done in a matter of seconds.

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    yes, even in a millisecond.

  • @kristophskidoo324

    @kristophskidoo324

    4 жыл бұрын

    @@sunnyclassroom24 true! Also your videos are perfect for visual learners such as myself! Thank you for your hard work!

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    @@kristophskidoo324 You are welcome!

  • @pain9763
    @pain9763 Жыл бұрын

    thank you for the crystal clear explanation !!!

  • @zackmack7145
    @zackmack71453 жыл бұрын

    Thank you so much Sunny i am taking network security class and your videos are helping me to learn more and help me gets a good grade on my exams. Once again thanks a lot God bless you

  • @otherwize12
    @otherwize123 жыл бұрын

    Thanks Sunny! Very helpfull indeed!

  • @aminsoltanieh4335
    @aminsoltanieh4335 Жыл бұрын

    awesome explanation, Thank you!

  • @zhaoyufei9096
    @zhaoyufei90962 жыл бұрын

    very thankfull for your video, they are so clearly!

  • @hfhernandezf
    @hfhernandezf5 жыл бұрын

    Hi, Excellent video. Simple yet comprehensive. Keep up the good work.

  • @Anonymous-ed4id
    @Anonymous-ed4id4 жыл бұрын

    Hi, Sunny, thanks for the wonderful explaination. One quick question in mind. So in the video, the client verify the server by checking its public certificate. But how does the server check the validity of the client?

  • @gopinathk8093
    @gopinathk80933 жыл бұрын

    Simple and precise explanation. Good one

  • @mrnobody5763
    @mrnobody57634 жыл бұрын

    Well done man. You're really a good teacher.

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    Thank you for your comments! Check out my other videos please!

  • @insidesoul9201
    @insidesoul92013 жыл бұрын

    Thank you so much for easy understanding

  • @patzferrera8371
    @patzferrera83712 жыл бұрын

    Thank you for your simple yet concise explanation Sir Sunny

  • @hirenpatel9678
    @hirenpatel96782 жыл бұрын

    Update: I wish I saw this years ago. Best teacher. !

  • @101appsCoZa
    @101appsCoZa4 жыл бұрын

    Fantastic. I now understand the handshake! thanks

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    You re welcome !

  • @t-h787
    @t-h7876 жыл бұрын

    awesome video!

  • @__sad_but_rad__
    @__sad_but_rad__6 жыл бұрын

    great stuff man

  • @samraj67
    @samraj674 жыл бұрын

    Very good explanation.. Nice background music feel like I’m in school. Good work Sunny.

  • @samraj67

    @samraj67

    4 жыл бұрын

    Can you please add video on mutual TLS and HTTP signatures

  • @dttpr
    @dttpr3 жыл бұрын

    fantastic video, thanks very much

  • @mostinho7
    @mostinho74 жыл бұрын

    Done thanks 2:50 protocol example Client encrypts a shared symmetric key with the server’s public key (after verifying the servers identity with a CA)

  • @diyapatel2358
    @diyapatel23583 жыл бұрын

    thank u so much! this was really helpful :)

  • @kasperbaun
    @kasperbaun4 жыл бұрын

    Great video on the topic. Thanks!

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    Glad you liked it!

  • @mgfg22
    @mgfg223 жыл бұрын

    Well done Mr.Sunny

  • @alexgroyz559
    @alexgroyz5593 жыл бұрын

    Good job man, good explanation

  • @srivatsanraman2827
    @srivatsanraman28273 жыл бұрын

    Excellent explanation sunny thank you for this 👍🏻

  • @Unknown42Life
    @Unknown42Life Жыл бұрын

    Good explanation. Thank you.

  • @artem4460
    @artem44605 жыл бұрын

    Hello, Sunny. Thank you for the great video. But I was wondering, on the step "ClientKeyExchange" the shared secret key encrypted with the server's public key, but how does this shared secret gets generated? So, on this step, if the client has selected cryptographic algorithm from the server, will it produce the secret shared key right off or something else stays behind this process?

  • @SantoshSharma
    @SantoshSharma5 жыл бұрын

    can you please tell me . when digital signature is sent to client then its encrypted. also along with this plain text message is sent. so if i take wireshark capture where i can see that plain text message

  • @YiloQuinones
    @YiloQuinones6 жыл бұрын

    Excellent!

  • @sunnyclassroom24

    @sunnyclassroom24

    6 жыл бұрын

    Thanks a lot for your kind comment.

  • @sandyrahate
    @sandyrahate4 жыл бұрын

    Thank you very much for sharing such a valuable information !! appreciate your efforts Sir !!

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    You are welcome!

  • @karma_yogi_42
    @karma_yogi_423 жыл бұрын

    great content man! thanks!

  • @sunnyclassroom24

    @sunnyclassroom24

    3 жыл бұрын

    My pleasure!

  • @TheGuroguro12
    @TheGuroguro122 жыл бұрын

    Thank you very much, it was very helpful, step by step explanation make the concept understandable.

  • @salmanbaig6603
    @salmanbaig66032 жыл бұрын

    Very Nice Explanation

  • @SamuelHernandez15
    @SamuelHernandez152 жыл бұрын

    great! easy to understand

  • @abdulqadirjaelani6914
    @abdulqadirjaelani69145 жыл бұрын

    Perfect ..... Thank You

  • @kishornavale7393
    @kishornavale73932 жыл бұрын

    Thanks for sharing such a wonderful video..and very helpful..

  • @islamtoghuj
    @islamtoghuj4 жыл бұрын

    A great tutorial, as always, Mr. Sunny. Since this video is related to AAA, i have a question: will you make more in depth tutorials on AAA in the future (besides the available ones)? I really hope you do. P.S. The effort you already made is great and very appreciated as it is; you're not required to do any further work if you don't want to. You are a great representative of your Chinese nation, and your Chinese accent confirms your knowledge of your old and valuble mother tongue, which i personally appreciate very much.

  • @medbenayach7197
    @medbenayach71975 жыл бұрын

    Excellent expilcation !!!

  • @sunnyclassroom24

    @sunnyclassroom24

    5 жыл бұрын

    thanks a lot!

  • @micheburrito6784
    @micheburrito67844 жыл бұрын

    thank you for this video!

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    You're so welcome!

  • @luisleon7051
    @luisleon70516 жыл бұрын

    Very well explained

  • @snkarbhr
    @snkarbhr3 жыл бұрын

    It really helped! Thanks Guru Ji

  • @dipanjanm
    @dipanjanm5 жыл бұрын

    Very nicely and simply explained the cryptic concept.. cudos...

  • @sunnyclassroom24

    @sunnyclassroom24

    5 жыл бұрын

    thanks.

  • @laylahamza2674
    @laylahamza26744 жыл бұрын

    Thank you for great explanation! I would like to know this is asymmetric or Symmetric cryptography?

  • @MrBobbybrady
    @MrBobbybrady3 жыл бұрын

    Hi Sunny. Hope you had a good Christmas!

  • @kavitaray2523
    @kavitaray25236 жыл бұрын

    Hi Sunny, Its great...Can you please help us understanding where exactly chain certificate is involved in SSL handhake. I have doubts. If my browser do not have any chain certificate than does it verify the chain the public cert using chain cert? I understand what is chain certificate but my question is where you are making use of chain certificate in SSL handshake?

  • @saikirandandu8308
    @saikirandandu83085 жыл бұрын

    Very helpful video, thx

  • @sunnyclassroom24

    @sunnyclassroom24

    5 жыл бұрын

    You are welcome!

  • @huanshao2165
    @huanshao21654 жыл бұрын

    well explained, thanks!

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    Thanks.

  • @gokulkannan1292
    @gokulkannan12925 жыл бұрын

    If I am not wrong, the server provides the list of algorithms it has and the client picks one of them it supports or is it the other way around?

  • @balajirao8093
    @balajirao80934 жыл бұрын

    Nice explanation !

  • @sunnyclassroom24

    @sunnyclassroom24

    4 жыл бұрын

    Glad it helped!

  • @santiagomiranda7310
    @santiagomiranda73102 жыл бұрын

    Wow great refreshing video. Thanks +1