At 14:27, you will see that the CNNIC cert is indeed listed in the keychain of the macOS (an oversight by me). However, built into browsers is a "black list" where the browser itself can invalidate a root certificate. So when Google found the breach, it added code to the next update of its browser that will effectively revoke CNNIC's root cert even though one appears in the operating system's certificate storage area. When users launched Chrome, it will search for an update.. when one exists it installs the new code and .. there.. that certificate is revoked and so Chrome will no longer validate CNNIC's certs. I believe that browsers have both white and black lists of root certs built into their code so they can add root certs, if they don't think one exists in the OS, or invalidate root certs. But all OSes have a central storage area for CA root certs so browsers don't need to store a complete list.
@DataVids4 жыл бұрын
Can we see the blacklist that a browser, has for root certs? Or do you think that is intentionally hidden from end users?
@davecrabbe45794 жыл бұрын
@@DataVids I am not that familiar with the internal workings of all browsers. Chrome contains a CRLset that is a list of banned sites. It can’t be viewed directly but can be dumped with public code. (dev.chromium.org/Home/chromium-security/crlsets).
@DataVids4 жыл бұрын
@@davecrabbe4579 thank you!
@pabloignaciodambrosio88503 жыл бұрын
Ha, I was about to comment that!. BTW in my key chain it is not. So at some point Apple also removed it.
@jimgloriavaughn86834 жыл бұрын
This has to be the clearest, melodrama-free explanation of digital certificates on KZbin. Thank you for taking the time to explain this.
@Ilitan0044 жыл бұрын
I finished my IT studies 2 years ago and never got clear in certificates understanding. Now I wanted to acquire this competence once for all. Watched many videos, still didn't get the thing. Then I found yours. This is masterpiece explanations, everything is now crystal clear into my mind. Most of the videos skip steps so it's not understandable. Thank you so much for this high quality lesson.
@subrahmanyammamidi52986 жыл бұрын
This is by far the best explanation on Certificates.
@shamilsaleem94443 жыл бұрын
Indeed!
@sahilsapra5382 жыл бұрын
clear explanation without using any fluff or word salad, straight to the point! thank you!!!!
@ashayfernandes47223 жыл бұрын
Searched the Google, searched KZbin didn't find a good explanation of certificate for beginners, THIS VIDEO IS GEM IT HAS ALL THAT A BEGINNER NEED TO UNDERSTAND. THANK YOU FOR THE VIDEO!!!
@messiweltmeista Жыл бұрын
Amazing explanation. What I couldn't understand for over 2 months was water clear in less than 30 minutes. Thanks.
@magawla6 жыл бұрын
The best explanation ever I've faced about "Chain of Trust". By the way, you have the root certificate of CNNIC on your browser. :)
@davecrabbe45796 жыл бұрын
yeah.. I picked that up after it was posted.. I'm still learning too :)
@MrEdgaravi5 жыл бұрын
Thank you Dave, excellent explanation!! Clear and direct. Agreed that this is the best chain certificate explanation I´ve ever seen to date.
@anilkommalapati62486 жыл бұрын
Awesome tutorial. I am struggling to understan the chan of trust since ages and today this tutorial has cleared all my doubts. It made my day. Million of thanks to Dave. Long live and god bless you.
@ValliNayagamChokkalingam10 ай бұрын
Excellent explanation! Searched everywhere to lean more about how the chain of trust worked in detail - finally found it here! Thank you!
@davecrabbe457910 ай бұрын
Thanks.. older video, but its all built on the same basic concept, so far.
@thabangmasigo12882 жыл бұрын
This is great and simple, finally someone covers how the certificate is verified to actually be from the specific CA.
@pja89016 жыл бұрын
Finally! found some quality material... and it was free. thanks
@surendrababu11505 жыл бұрын
I had so many doubts / confusion about digital signature and how it works, now i understood completely, thanks for the nice explanation
@dennisyi56585 жыл бұрын
thanks for taking the time to post these videos. i'm a network engineer and your teaching and explanations are excellent! appreciate it!
@davecrabbe45794 жыл бұрын
Glad you enjoyed it.. thanks
@sharpie04 Жыл бұрын
I'd like to echo what others have already said and thank you so much for such a clear explanation of this process. I have been able to explain PKI principles to colleagues from the knowledge learnt in this video. I've been an IT professional for the past 9 years and PKI principles have never really stuck but this one made the penny drop. Excellent work.
@jmrah6 жыл бұрын
Straight forward and comprehensive explanation. This is the only resource on the topic that made sense to me and filled in all the gaps.
@jpranav4u3 жыл бұрын
This is the perfect video i found in youtube which explains the concept of cerficate chain.. take a bow Dave
@AnhNguyen-vu7mc Жыл бұрын
This is the best explanation so far on the internet
@Zeid_Al-Seryani2 жыл бұрын
This is the most amazing video I have ever passed by , because you are the only one I saw that explains the SSL and Chain of Trust in details with a great example. Thank you very much dear and I am very happy that I have passed by while I was searching on tutorials to understand how this process works. Best Wishes and Blesses.
@davecrabbe45792 жыл бұрын
Thanks..
@philipperivest78063 жыл бұрын
Sir, the video is simply perfect. I work in IT, I dont play a lot with certs or CA but this was to the point where i had enough to do my job. Thanks :)
@MrHarvindermann4 жыл бұрын
This is the best video on SSL I have come across!
@AnasAther6 жыл бұрын
This is by far the best explanation, if you have basic understanding, I learned first 3 chapters from book called PKI uncovered from cisco press and then watched this video, which resolved all the grey areas, thanks man
@davecrabbe45796 жыл бұрын
super! Thanks for the comment.
@yogi0294 жыл бұрын
One of the best and crystal clear explanation I have ever seen !!
@usernamewatcher2 жыл бұрын
the best explanation on youtube I've found so far thank you so much for your work!
@Piquetures6 жыл бұрын
I've been watching SSL related videos for the past hour and this explanation at 11:52 was what I needed to fill the gap!
@tnb1784 жыл бұрын
This is not how it works nowadays. If you want information about that part, look for diffie hellmann key exchange.
@crisag.26984 жыл бұрын
Yeah the latest version of SSL was deprecated in 2015
@tnb1784 жыл бұрын
The problem is if the private key ever gets compromised at some point in the entire future of humanity, all past communication becomes compromised. Not good. Private key should only be used for identification and after a breach simply be replaced without further damage.
@karamjeetpadam47192 жыл бұрын
this is the best and most simplified explainnation of topic... loveed thatt...thanks much for your efforts
@pallenrupp5 жыл бұрын
Thanks Dave! These two episodes on TLS certificates was the best I have seen. Thank you, Thank You.
@odesferreira Жыл бұрын
A great presentation about chain of trust and certificates! Really great. Thanks for that
@johncruz31354 жыл бұрын
A fantastic and clear explanation of the Chain of trust..Kudos!
@VikasAgarwal845 жыл бұрын
This is the best explanation across all articles and videos.
@nimble_skr5 жыл бұрын
One of the best videos to understand chain of trust
@vasumahalingam51622 жыл бұрын
By far the best video on this subject. Thank you.
@BiswaRSingh4 жыл бұрын
This is really awesome explanation. Probably the best that i have ever seen till now.
@cliffBMRC5 жыл бұрын
Excellent instructional "Chain of Trust" SSL process. Thank you for your valuable time. :)
@magawla6 ай бұрын
Best explanation about chain of trust I've ever faced.
@MukulTripathi4 жыл бұрын
I had to change the speed to 1.25 and the video became so much better! Thank you for the nice explanation.
@davecrabbe45794 жыл бұрын
grin.. I'm older and I go slow these days..
@varelarick4 жыл бұрын
Wow, you made understand those SSL certs once and for all, and it's much appreciated. Also, you have a great hand writing. Keep up the great content sharing in your channel, I'm definitely subscribing.
@nathanwashor894 жыл бұрын
I agree with earlier comments. This is the best video on SSL I could find on KZbin. I shared it with my coworkers. Thank you.
@davecrabbe45794 жыл бұрын
Thanks for the comments. The actually technical implementation has so many more details. I tried to distill it into the core concepts.
@pontustervehn12646 жыл бұрын
This was a nice and comprehensive step-by-step overview! I've browsed through a bunch of information regarding certificates, validation etc, and this video turned out to be a gold nugget in a topic where other information sources choose to gloss over the details and specifics (perhaps due to a lack of understanding?).
@davecrabbe45796 жыл бұрын
Some go into too much detail and you never grasp the overall concepts.
@martinwangwe8966 Жыл бұрын
Thank you Dave for the excellent presentation and i like the case study you put at the end.
@jmrah6 жыл бұрын
Finally an explanation that connects all the dots! Great explanation.
@fishsauce74972 жыл бұрын
Simple and to the point without age old theoretical rhetoric.
@osirioncomputing85212 жыл бұрын
One piece of information missing in this video that will be helpful: Data encrypted with the public key can only be decrypted with the private key, and data encrypted with the private key can only be decrypted with the public key. So notice that the hash of the SSL certificate is encrypted with the private key and can only be decrypted with the public key.
@ALOKSHUKLA-bl4mj Жыл бұрын
Seriously love the way, the information provided, clear concept
@mohamedshageaa5 жыл бұрын
Thank you! This is the best explanatory video for ssl certificates
@enigma_mysterium6 жыл бұрын
It's was an deep and easy to follow dive into the e-certificates world. Many thanks!
@r-esp2825 жыл бұрын
I also had trouble spelling Hierarchical! (Thank goodness for auto correct😁) Fantastic explanation btw - I've been scouring the web for a decent explanation and after your video I feel my knowledge gap has been quenched. Liked the video so that after I've had a sleep and forgotten it I can simply refer back to the masterclass. Thanks again
@I9Chris6I5 жыл бұрын
Finally a satisfying explanation of certificates, thanks
@mostinho74 жыл бұрын
Done thanks took notes in onenote Best video on the topic!
@sutherlandnele2 жыл бұрын
excellent presentation. one of the best. thanks.
@shivamverma94477 ай бұрын
best explanation!! well done
@onlyeyeno3 жыл бұрын
Many thanks for this clear, concise and well presented explanation, Best regards.
@random-characters4162 Жыл бұрын
great video thanks! What I'd like to see next is what happens if the private key is compromised. My understanding is that the certificates can be forged using this key. But I would like to hear an explanation from a professional! Thank you again for the great content
@davecrabbe4579 Жыл бұрын
If the private key is compromised all certificates created with that private key are compromised. If the private key of a ROOT authority is compromised there is a way to invalidate all certificates issued from that ROOT authority. I believe all browsers check some central repository for a list of ROOT authorities that have been compromised and will not process a certificate if the issuer is on that 'black' list.
@thetedsingh6 жыл бұрын
Just wanted to commend you on the quality of your videos in explaining a complicated subject - I was able to clarify multiple concepts after muddling through several documents.
@davecrabbe45796 жыл бұрын
Glad you enjoyed.. With all the complete details, it is a very complex topic. My attempt was to break it down into only the necessary components so that people understand how the basic principle works.
@christorok19065 жыл бұрын
This is awesome! You explained it soooo well.
@HXYZZZ3 жыл бұрын
great explanation, Thanks Dave for putting this together. really helpful.
@cw59485 жыл бұрын
Thanks for delving into the details of this process. Other videos don't seem to discuss the details in much depth.
@michaelndlovu3562 жыл бұрын
Great and simple.......good job sir
@stephank.murphy48745 жыл бұрын
Great Video, really informative! Exactly the information I knew I didn't know.. Thanks!
@SuperWhatusername7 жыл бұрын
Thanks Dave for clear cut explanation. Have a good time.
@ruchit87626 жыл бұрын
awesome explanation ! cleared my doubt... this clearly explains why do we have chain of trust in the first place...
@muditgoel92 жыл бұрын
Just one word "Excellent" !!
@MrMarkyr10005 жыл бұрын
At 14:25, you can see CNNIC ROOT listed in browser certificate list.
@prafullpandit5313 жыл бұрын
Fantastic explanation !!!
@shaneyh975 жыл бұрын
perfect video ,really good explanation to how the chain of trust occurs
@EcomME3 жыл бұрын
Shame on those who have watched this masterpiece 🤩 and did not subscribe 👊👊👊
@rkuvideo3 жыл бұрын
Great Explanation.. Thank you. God bless you.
@atexnik7 жыл бұрын
BTW, I can see CNNIC ROOT listed in your browser.
@MajidFouladpour7 жыл бұрын
14:27
@SlowCarToChina6 жыл бұрын
LOL - I was just about to post this exact same observation.
@keeranmnc16056 жыл бұрын
lmao
@Flankymanga5 жыл бұрын
hehe small mistake but we got the point....
@loayzag915 жыл бұрын
If Microsoft didn't revoke CNNIC, then it may be reasonable to believe that Apple didn't either. If they didn't, then Safari would still ship with CNNIC as a trusted root and would therefore be installed on his computer.
@Gukslaven5 жыл бұрын
Absolutely brilliant explanation, thanks!
@mariocortes26703 жыл бұрын
Best video of SSL
@technicalthug Жыл бұрын
Great video, this helped me a lot!
@naserintegral6 жыл бұрын
Thank you ! you made it very simple and to the point.
@othmanalikhan97977 жыл бұрын
Thanks for putting and the time and effort in generating the video, it was very informative and helpful watch =)
@josephglaspie6 жыл бұрын
GREAT Explanation, thanks Dave!
@JamesSmith-cm7sg3 жыл бұрын
Thanks this was easy to follow and understand.
@abdullahsarwar88052 жыл бұрын
Awesome video. Thank you very much
@rocevski212 жыл бұрын
Great explanation, thanks!
@meriemalahmadihammou60737 ай бұрын
Thank you, very good explained!
@artjomzingfeld68812 жыл бұрын
Very good tutorial! The only thing I misunderstood is that before you talked that signing is done via public key and then I find out that CA and ICA certificates are signed by CA/ICA private key ?!
@whoosshhaa3 жыл бұрын
Very well explained. Thank You !
@Shabasky15 жыл бұрын
Thank you for this very thorough explanation
@gavenchan6 жыл бұрын
Very well explained. This answered a question I was having :)
@rupinder21275 жыл бұрын
Awesome explanation Sir...... thank you so much....
@madhavik4616 Жыл бұрын
Excellent explanation..thankyou
@anakealz4 жыл бұрын
Thank you very much! Very insightful.
@abhijitv4 жыл бұрын
AWESOME explanation!
@SeeuD15 жыл бұрын
At 10:30 you show that Google signs with the Private Key from Geotrust, and Geotrust use the Public Key to encript the Hash. But isnt it vice versa and Google is signing the Hash with the Public Key from the NSCC and they validate it with their Private Key ? Because why should Google have the Private Key from Geotrust ? And at 14:40 the CNNIC is seen in the picture where you say it is not valid to use it ?
@davecrabbe45795 жыл бұрын
No, you are misunderstanding the information here. Here, Google is an ICA and as such, no client has Google's Public key in their certificate store. As an organization, Google must obtain a certificate from a known and trusted CA (GeoTrust). Thus, GeoTrust creates a cert for Google and signs it with their own private key. You are right, NO ONE must see the private key of another. This cert is sent to Google and they distribute this cert whenever Google issues a Cert. In the case shown, Google is issuing an SSL cert and encrypts the hash with their (Google's private key). The client would not have Google's public key and so could not decrypt the hash. This is why the Google cert (signed by GeoTrust) must be sent with the SSL cert. Every client has access to GeoTrust's public key since they are a well known CA. They can validate Google's cert and get Google's public key and they use this key to validate the SSL cert.
@SeeuD15 жыл бұрын
@@davecrabbe4579 Ah now I get it! Thanks! 😊
@ranjithr77183 ай бұрын
Really good explanation
@ashishm84137 жыл бұрын
Thanks for the excellent explanation!
@rakesh4a12 ай бұрын
Need a bit more explanation at 10:26, How hash is validated? Correct me: the decrypted hash from the received 'google-certificate' using public-key of root CA installed in browser is matched with the generated hash from public key present in the certificate?
@atexnik7 жыл бұрын
Excellent! Thank you!
@goodev2 жыл бұрын
Great video. I can see multiple comments of 1) encrypting vs. validation and 2)encrypting with either private or public key and undoing the process with the other key. Second comment that was useful was the reason to using an intermediate certificate authority (a security feature, limit damage if private key ever gets leaked). Thank you! Would it be possible to make a video about wild domain (multiple domain) certificates? My homework now is to encrypt with a private key and decrypt with the public and to compare against other validation/signature verification flows. In JWT, (head.payload.signature) I would thought that you had the payload, you would encrypt it using the public key (generate the signature) and then compare it against the signature for validation.
@EvilSapphireR5 жыл бұрын
Browsers do the key exchange process in the way you described at 12:00 only in case of TLS_RSA cipher suite. If there server and the browser agree on a better cipher suite like TLS_DH_RSA (Diffie Hellman key ex) or TLS_ECDHE_RSA (Elliptic Curve Diffie Hellman key ex) the key exchange process would be very different. Very good explanation nonetheless!
@davecrabbe45794 жыл бұрын
grin.. you know too much.. I purposely did not want to get into that level of detail as many readers who are just learning this for the first time might not get a good overview of the concept.
@sniGGandBaShoR2 жыл бұрын
the symmetric key is never sent over the wire. instead a pre master secret ist generated and from that both parties generate the symmetric key (master key).
@davecrabbe45792 жыл бұрын
Yes.. true.. the explanation is simplified to show that PKI is used to generate the symmetric key and then communication continues with the symmetric key.
@__ab45202 ай бұрын
Great video. When you say certificate hash data is encrypted using private key of issuer, does it mean that private is also sent along with certs? I am bit confused, why private key is being used to encrypt hash? Isn't public keys are used to encypt( as browser is doing with symmetric key) ? Or it is not neccesary to encrypt using public key always?
@sumeetsharma20096 жыл бұрын
Very well explained, Thank you
@rameshnyc67983 жыл бұрын
Amazing video
@MrRome322 жыл бұрын
thanks for sharing this video!!
@BARaaz045 жыл бұрын
Thanks for the video. It is really helpful
@muhannadak80874 жыл бұрын
Thanks a lot! great explanation. But I'm a little bit confused, 10:12 where you said the browser has the public key so it can decrypt the data encrypted by the private key. But I thought public key is used to encrypt and not decrypt. Can you please explain?
@davecrabbe45794 жыл бұрын
In PKI, either the public OR the private key encrypts.. the OTHER key will decrypt.. This allows different applications of PKI.. such as digital signatures vs SSL communication. So in SSL, the PRIVATE key of the vendor you are attached to encrypts some information and I (the client) can decrypt it with that vendor's public key. If I want to send something secure back to the vendor, I can encrypt it with the Vendor's public key and they are the only one who can decrypt it with their vendor private key.