Digital Certificates: Chain of Trust

  Рет қаралды 291,707

Dave Crabbe

Dave Crabbe

Күн бұрын

Пікірлер: 284
@davecrabbe4579
@davecrabbe4579 4 жыл бұрын
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.
@DataVids
@DataVids 4 жыл бұрын
Can we see the blacklist that a browser, has for root certs? Or do you think that is intentionally hidden from end users?
@davecrabbe4579
@davecrabbe4579 4 жыл бұрын
@@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).
@DataVids
@DataVids 4 жыл бұрын
@@davecrabbe4579 thank you!
@pabloignaciodambrosio8850
@pabloignaciodambrosio8850 3 жыл бұрын
Ha, I was about to comment that!. BTW in my key chain it is not. So at some point Apple also removed it.
@jimgloriavaughn8683
@jimgloriavaughn8683 4 жыл бұрын
This has to be the clearest, melodrama-free explanation of digital certificates on KZbin. Thank you for taking the time to explain this.
@Ilitan004
@Ilitan004 4 жыл бұрын
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.
@subrahmanyammamidi5298
@subrahmanyammamidi5298 6 жыл бұрын
This is by far the best explanation on Certificates.
@shamilsaleem9444
@shamilsaleem9444 3 жыл бұрын
Indeed!
@sahilsapra538
@sahilsapra538 2 жыл бұрын
clear explanation without using any fluff or word salad, straight to the point! thank you!!!!
@ashayfernandes4722
@ashayfernandes4722 3 жыл бұрын
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
@messiweltmeista Жыл бұрын
Amazing explanation. What I couldn't understand for over 2 months was water clear in less than 30 minutes. Thanks.
@magawla
@magawla 6 жыл бұрын
The best explanation ever I've faced about "Chain of Trust". By the way, you have the root certificate of CNNIC on your browser. :)
@davecrabbe4579
@davecrabbe4579 6 жыл бұрын
yeah.. I picked that up after it was posted.. I'm still learning too :)
@MrEdgaravi
@MrEdgaravi 5 жыл бұрын
Thank you Dave, excellent explanation!! Clear and direct. Agreed that this is the best chain certificate explanation I´ve ever seen to date.
@anilkommalapati6248
@anilkommalapati6248 6 жыл бұрын
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.
@ValliNayagamChokkalingam
@ValliNayagamChokkalingam 10 ай бұрын
Excellent explanation! Searched everywhere to lean more about how the chain of trust worked in detail - finally found it here! Thank you!
@davecrabbe4579
@davecrabbe4579 10 ай бұрын
Thanks.. older video, but its all built on the same basic concept, so far.
@thabangmasigo1288
@thabangmasigo1288 2 жыл бұрын
This is great and simple, finally someone covers how the certificate is verified to actually be from the specific CA.
@pja8901
@pja8901 6 жыл бұрын
Finally! found some quality material... and it was free. thanks
@surendrababu1150
@surendrababu1150 5 жыл бұрын
I had so many doubts / confusion about digital signature and how it works, now i understood completely, thanks for the nice explanation
@dennisyi5658
@dennisyi5658 5 жыл бұрын
thanks for taking the time to post these videos. i'm a network engineer and your teaching and explanations are excellent! appreciate it!
@davecrabbe4579
@davecrabbe4579 4 жыл бұрын
Glad you enjoyed it.. thanks
@sharpie04
@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.
@jmrah
@jmrah 6 жыл бұрын
Straight forward and comprehensive explanation. This is the only resource on the topic that made sense to me and filled in all the gaps.
@jpranav4u
@jpranav4u 3 жыл бұрын
This is the perfect video i found in youtube which explains the concept of cerficate chain.. take a bow Dave
@AnhNguyen-vu7mc
@AnhNguyen-vu7mc Жыл бұрын
This is the best explanation so far on the internet
@Zeid_Al-Seryani
@Zeid_Al-Seryani 2 жыл бұрын
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.
@davecrabbe4579
@davecrabbe4579 2 жыл бұрын
Thanks..
@philipperivest7806
@philipperivest7806 3 жыл бұрын
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 :)
@MrHarvindermann
@MrHarvindermann 4 жыл бұрын
This is the best video on SSL I have come across!
@AnasAther
@AnasAther 6 жыл бұрын
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
@davecrabbe4579
@davecrabbe4579 6 жыл бұрын
super! Thanks for the comment.
@yogi029
@yogi029 4 жыл бұрын
One of the best and crystal clear explanation I have ever seen !!
@usernamewatcher
@usernamewatcher 2 жыл бұрын
the best explanation on youtube I've found so far thank you so much for your work!
@Piquetures
@Piquetures 6 жыл бұрын
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!
@tnb178
@tnb178 4 жыл бұрын
This is not how it works nowadays. If you want information about that part, look for diffie hellmann key exchange.
@crisag.2698
@crisag.2698 4 жыл бұрын
Yeah the latest version of SSL was deprecated in 2015
@tnb178
@tnb178 4 жыл бұрын
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.
@karamjeetpadam4719
@karamjeetpadam4719 2 жыл бұрын
this is the best and most simplified explainnation of topic... loveed thatt...thanks much for your efforts
@pallenrupp
@pallenrupp 5 жыл бұрын
Thanks Dave! These two episodes on TLS certificates was the best I have seen. Thank you, Thank You.
@odesferreira
@odesferreira Жыл бұрын
A great presentation about chain of trust and certificates! Really great. Thanks for that
@johncruz3135
@johncruz3135 4 жыл бұрын
A fantastic and clear explanation of the Chain of trust..Kudos!
@VikasAgarwal84
@VikasAgarwal84 5 жыл бұрын
This is the best explanation across all articles and videos.
@nimble_skr
@nimble_skr 5 жыл бұрын
One of the best videos to understand chain of trust
@vasumahalingam5162
@vasumahalingam5162 2 жыл бұрын
By far the best video on this subject. Thank you.
@BiswaRSingh
@BiswaRSingh 4 жыл бұрын
This is really awesome explanation. Probably the best that i have ever seen till now.
@cliffBMRC
@cliffBMRC 5 жыл бұрын
Excellent instructional "Chain of Trust" SSL process. Thank you for your valuable time. :)
@magawla
@magawla 6 ай бұрын
Best explanation about chain of trust I've ever faced.
@MukulTripathi
@MukulTripathi 4 жыл бұрын
I had to change the speed to 1.25 and the video became so much better! Thank you for the nice explanation.
@davecrabbe4579
@davecrabbe4579 4 жыл бұрын
grin.. I'm older and I go slow these days..
@varelarick
@varelarick 4 жыл бұрын
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.
@nathanwashor89
@nathanwashor89 4 жыл бұрын
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.
@davecrabbe4579
@davecrabbe4579 4 жыл бұрын
Thanks for the comments. The actually technical implementation has so many more details. I tried to distill it into the core concepts.
@pontustervehn1264
@pontustervehn1264 6 жыл бұрын
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?).
@davecrabbe4579
@davecrabbe4579 6 жыл бұрын
Some go into too much detail and you never grasp the overall concepts.
@martinwangwe8966
@martinwangwe8966 Жыл бұрын
Thank you Dave for the excellent presentation and i like the case study you put at the end.
@jmrah
@jmrah 6 жыл бұрын
Finally an explanation that connects all the dots! Great explanation.
@fishsauce7497
@fishsauce7497 2 жыл бұрын
Simple and to the point without age old theoretical rhetoric.
@osirioncomputing8521
@osirioncomputing8521 2 жыл бұрын
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
@ALOKSHUKLA-bl4mj Жыл бұрын
Seriously love the way, the information provided, clear concept
@mohamedshageaa
@mohamedshageaa 5 жыл бұрын
Thank you! This is the best explanatory video for ssl certificates
@enigma_mysterium
@enigma_mysterium 6 жыл бұрын
It's was an deep and easy to follow dive into the e-certificates world. Many thanks!
@r-esp282
@r-esp282 5 жыл бұрын
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
@I9Chris6I
@I9Chris6I 5 жыл бұрын
Finally a satisfying explanation of certificates, thanks
@mostinho7
@mostinho7 4 жыл бұрын
Done thanks took notes in onenote Best video on the topic!
@sutherlandnele
@sutherlandnele 2 жыл бұрын
excellent presentation. one of the best. thanks.
@shivamverma9447
@shivamverma9447 7 ай бұрын
best explanation!! well done
@onlyeyeno
@onlyeyeno 3 жыл бұрын
Many thanks for this clear, concise and well presented explanation, Best regards.
@random-characters4162
@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
@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.
@thetedsingh
@thetedsingh 6 жыл бұрын
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.
@davecrabbe4579
@davecrabbe4579 6 жыл бұрын
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.
@christorok1906
@christorok1906 5 жыл бұрын
This is awesome! You explained it soooo well.
@HXYZZZ
@HXYZZZ 3 жыл бұрын
great explanation, Thanks Dave for putting this together. really helpful.
@cw5948
@cw5948 5 жыл бұрын
Thanks for delving into the details of this process. Other videos don't seem to discuss the details in much depth.
@michaelndlovu356
@michaelndlovu356 2 жыл бұрын
Great and simple.......good job sir
@stephank.murphy4874
@stephank.murphy4874 5 жыл бұрын
Great Video, really informative! Exactly the information I knew I didn't know.. Thanks!
@SuperWhatusername
@SuperWhatusername 7 жыл бұрын
Thanks Dave for clear cut explanation. Have a good time.
@ruchit8762
@ruchit8762 6 жыл бұрын
awesome explanation ! cleared my doubt... this clearly explains why do we have chain of trust in the first place...
@muditgoel9
@muditgoel9 2 жыл бұрын
Just one word "Excellent" !!
@MrMarkyr1000
@MrMarkyr1000 5 жыл бұрын
At 14:25, you can see CNNIC ROOT listed in browser certificate list.
@prafullpandit531
@prafullpandit531 3 жыл бұрын
Fantastic explanation !!!
@shaneyh97
@shaneyh97 5 жыл бұрын
perfect video ,really good explanation to how the chain of trust occurs
@EcomME
@EcomME 3 жыл бұрын
Shame on those who have watched this masterpiece 🤩 and did not subscribe 👊👊👊
@rkuvideo
@rkuvideo 3 жыл бұрын
Great Explanation.. Thank you. God bless you.
@atexnik
@atexnik 7 жыл бұрын
BTW, I can see CNNIC ROOT listed in your browser.
@MajidFouladpour
@MajidFouladpour 7 жыл бұрын
14:27
@SlowCarToChina
@SlowCarToChina 6 жыл бұрын
LOL - I was just about to post this exact same observation.
@keeranmnc1605
@keeranmnc1605 6 жыл бұрын
lmao
@Flankymanga
@Flankymanga 5 жыл бұрын
hehe small mistake but we got the point....
@loayzag91
@loayzag91 5 жыл бұрын
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.
@Gukslaven
@Gukslaven 5 жыл бұрын
Absolutely brilliant explanation, thanks!
@mariocortes2670
@mariocortes2670 3 жыл бұрын
Best video of SSL
@technicalthug
@technicalthug Жыл бұрын
Great video, this helped me a lot!
@naserintegral
@naserintegral 6 жыл бұрын
Thank you ! you made it very simple and to the point.
@othmanalikhan9797
@othmanalikhan9797 7 жыл бұрын
Thanks for putting and the time and effort in generating the video, it was very informative and helpful watch =)
@josephglaspie
@josephglaspie 6 жыл бұрын
GREAT Explanation, thanks Dave!
@JamesSmith-cm7sg
@JamesSmith-cm7sg 3 жыл бұрын
Thanks this was easy to follow and understand.
@abdullahsarwar8805
@abdullahsarwar8805 2 жыл бұрын
Awesome video. Thank you very much
@rocevski21
@rocevski21 2 жыл бұрын
Great explanation, thanks!
@meriemalahmadihammou6073
@meriemalahmadihammou6073 7 ай бұрын
Thank you, very good explained!
@artjomzingfeld6881
@artjomzingfeld6881 2 жыл бұрын
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 ?!
@whoosshhaa
@whoosshhaa 3 жыл бұрын
Very well explained. Thank You !
@Shabasky1
@Shabasky1 5 жыл бұрын
Thank you for this very thorough explanation
@gavenchan
@gavenchan 6 жыл бұрын
Very well explained. This answered a question I was having :)
@rupinder2127
@rupinder2127 5 жыл бұрын
Awesome explanation Sir...... thank you so much....
@madhavik4616
@madhavik4616 Жыл бұрын
Excellent explanation..thankyou
@anakealz
@anakealz 4 жыл бұрын
Thank you very much! Very insightful.
@abhijitv
@abhijitv 4 жыл бұрын
AWESOME explanation!
@SeeuD1
@SeeuD1 5 жыл бұрын
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 ?
@davecrabbe4579
@davecrabbe4579 5 жыл бұрын
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.
@SeeuD1
@SeeuD1 5 жыл бұрын
@@davecrabbe4579 Ah now I get it! Thanks! 😊
@ranjithr7718
@ranjithr7718 3 ай бұрын
Really good explanation
@ashishm8413
@ashishm8413 7 жыл бұрын
Thanks for the excellent explanation!
@rakesh4a1
@rakesh4a1 2 ай бұрын
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?
@atexnik
@atexnik 7 жыл бұрын
Excellent! Thank you!
@goodev
@goodev 2 жыл бұрын
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.
@EvilSapphireR
@EvilSapphireR 5 жыл бұрын
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!
@davecrabbe4579
@davecrabbe4579 4 жыл бұрын
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.
@sniGGandBaShoR
@sniGGandBaShoR 2 жыл бұрын
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).
@davecrabbe4579
@davecrabbe4579 2 жыл бұрын
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.
@__ab4520
@__ab4520 2 ай бұрын
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?
@sumeetsharma2009
@sumeetsharma2009 6 жыл бұрын
Very well explained, Thank you
@rameshnyc6798
@rameshnyc6798 3 жыл бұрын
Amazing video
@MrRome32
@MrRome32 2 жыл бұрын
thanks for sharing this video!!
@BARaaz04
@BARaaz04 5 жыл бұрын
Thanks for the video. It is really helpful
@muhannadak8087
@muhannadak8087 4 жыл бұрын
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?
@davecrabbe4579
@davecrabbe4579 4 жыл бұрын
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.
Intro to Digital Certificates
21:47
Dave Crabbe
Рет қаралды 430 М.
What are certificates?
15:11
ITFreeTraining
Рет қаралды 736 М.
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 265 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 8 МЛН
Офицер, я всё объясню
01:00
История одного вокалиста
Рет қаралды 5 МЛН
HTTPS, SSL, TLS & Certificate Authority Explained
43:29
Laith Academy
Рет қаралды 115 М.
PKI -  trust & chain of trust -why, who and how?
8:19
Sunny Classroom
Рет қаралды 147 М.
Certificates and Certificate Authority Explained
16:23
Hussein Nasser
Рет қаралды 138 М.
Introduction to Cryptographic Keys and Certificates
18:06
Paul Turner
Рет қаралды 169 М.
Certificates from Scratch - X.509 Certificates explained
21:50
OneMarcFifty
Рет қаралды 114 М.
Tech Talk: What is Public Key Infrastructure (PKI)?
9:22
IBM Technology
Рет қаралды 122 М.
What are Digital Signatures? - Computerphile
10:17
Computerphile
Рет қаралды 336 М.