# Simplifying Public Key Infrastructure (PKI) for Beginners

An episode of [Prabh Nair](https://invisiblenetwork.ai/podcast/1554859289), 11 Mar 2026, 23 min.

Audio: https://anchor.fm/s/4dbb0ab0/podcast/play/116733507/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-2-11%2F76c21e3e-9813-c02a-cb40-1078351f21b9.mp3

Welcome to our video on "What is PKI in Simple Terms?" If you’ve ever wondered what Public key Infrastructure (PKI) is and why it’s essential, this video is for you! We break down the complexities of PKI into simple, easy-to-understand language, making it accessible to everyone. In this video, You’ll learn:Why PKI is Important: Discover why Public Key Infrastructure is crucial for secure digital communications.Key Components of PKI: Understand the essential elements of PKI, including certificates, keys, and Certificate Authorities (CAs).The End-to-End PKI Process: Get a clear overview of how PKI works from start to finish.Common Questions Answered: We cover frequently asked questions about PKI to ensure you have a comprehensive understanding.💡 Why Watch This Video?Public Key Infrastructure is a cornerstone of secure online communication, and understanding it is key for anyone involved in cybersecurity or IT. Whether you’re a beginner or looking to refresh your knowledge, this video will give you the insights you need to grasp PKI and its importance.🔔 Don’t forget to like, comment, and subscribe for more easy-to-understand cybersecurity and IT concepts!Cryptography Fundamental: https://www.youtube.com/watch?v=2zxiWSitAlE&t=1304s&pp=ygUac3ltbWV0cmljIGVuY3J5cHRpb24gcHJhYmg%3DHashing and Digital Signature Fundamental https://www.youtube.com/watch?v=BuhWRY4hkpY&pp=ygUhZGlnaXRhbCBzaWduYXR1ciBlbmNyeXB0aW9uIHByYWJoAssess Your Knowledge of PKI https://www.youtube.com/watch?v=2TPe8R8BgsU&t=526s&pp=ygUcY2lzc3AgY3J5cHRvZ3JhcGh5IHF1ZXN0aW9ucw%3D%3D#PKI #PublicKeyInfrastructure #CyberSecurity #ITSecurity #PKIExplained, #DigitalCertificates #SecureCommunication #CyberSecurityForBeginners

## Transcript

[0:16] Hi team. Welcome to my session on Coffee
[0:18] with Prabh. And today we're going to discuss
[0:20] about what is PKI public key infrastructure.
[0:24] It is a very important topic today in network security, very
[0:27] important when you're preparing for any certification exam.
[0:30] There's a lot of content is already there on PKI, but no one
[0:33] talk about why we need a PKI. What is the reason this PKI was
[0:36] introduced? What is the limitation?
[0:38] Its addressed by the PKI. So PKI stand for public key
[0:41] infrastructure. My name is Prabh and For more
[0:44] information you can check my LinkedIn profile.
[0:47] If you're new to the channel, do subscribe to my YouTube channel
[0:49] and click on the bell icon to make sure you should not miss
[0:52] the future videos on a similar topic.
[0:54] So without wasting a time, let's start with the first part.
[0:57] Thank you. OK, So what is PKI PK stand for
[1:03] Public key infrastructure? Before I start with the PKI, I
[1:07] highly recommend to check the video in a description was which
[1:11] is talking about symmetric and asymmetric encryption because it
[1:14] is very important for you to understand.
[1:16] So I am skipping the symmetric encryption.
[1:17] I will first cover the asymmetric because from this
[1:20] diagram you will get to know why PK was introduced.
[1:23] See when we are talking about asymmetric encryption, so we
[1:25] have a system A, we have a system B.
[1:30] So in asymmetric encryption we have a 2 keys, public key and
[1:33] private key. So A has a public key and
[1:37] private key, B has a public key and private key.
[1:46] Now if A want to send data so this is my data.
[1:51] Data encrypt with the session key, data encrypted with the
[1:56] session key and we send the encrypted data to B.
[2:06] Now when B receive the encrypted data OK definitely he need a
[2:11] session key. So here what happen B sending
[2:14] his public key. So A apply AB public key to
[2:22] encrypt the session key and send the encrypted session key and B
[2:26] use the private key to decrypt the session key and then session
[2:30] key used to decrypt the data. So this is how asymmetric work.
[2:34] Now here the challenge here is let me take the diagram example.
[2:39] So here the challenge is if there is a hacker, Now listen
[2:45] this carefully OK, here is a hacker, hacker hijacked the
[2:49] session. So when B sending his public
[2:52] key, attacker hijacked that and he sent his public key to A.
[2:56] So A was an impression the key coming from B because there is
[3:01] no centralized verification identity and all that we are
[3:05] sending everything on the Internet.
[3:06] So B when he sending a public key, he hijacked the session and
[3:10] he send his public key to A. So A was an impression this is
[3:14] the public key of B. But reality it is the public key
[3:16] of hacker and with the help of that key he encrypt the session
[3:19] key and he sent back that session key.
[3:22] So hacker hacked that he got the encrypted session key as it is
[3:27] encrypt by his public key. He will use his private key to
[3:31] decrypt the session key and further session data.
[3:34] Whatever it sent by encrypting with decrypting it was get
[3:37] decrypted by the same session key.
[3:38] So that is the reason we introduce the PKI concept.
[3:43] So now what happen is we have a client A OK we have a system B
[3:52] and here we introducing one more server which is called as A PKI
[3:57] server public key authority server which is called as a
[4:00] California Certificate authority.
[4:03] Now listen this carefully. So now B send his public key to
[4:09] California public key B and California will generate one
[4:16] certificate. So public key is add in a
[4:18] certificate. So right note time is suppose
[4:24] 215 at 2:15 this certificate was generate OK so this is basically
[4:30] called as a hash value. It give the assurance about the
[4:33] integrity of a certificate. At 2:15 when certificate was
[4:37] with me this is the current state of data and this
[4:40] certificate hash generate by me. It is encrypt with the
[4:43] California private key which add the signature and California
[4:48] basically send back the certificate with signature to B.
[4:52] Now same process A generate the session key, the session key
[4:57] encrypt with the data and sent encrypted data to B.
[5:10] Now B need a session key because then only he can able to
[5:13] encrypt. So B this time send a
[5:14] certificate instead of sending a flat public key.
[5:18] So he sent a certificate. So now what happen A maintain
[5:22] the public key of his trusted California.
[5:27] So when he download the certificate, he first verify the
[5:30] signature of the certificate with the public key of
[5:32] California or you know we maintain the public key of
[5:35] California, your signature is verified.
[5:37] Then only from the certificate he will extract the public key
[5:41] of B and then he use the public key of B to encrypt the session
[5:45] key. So only thing we introduce here
[5:47] is extra independent server or third party server because A
[5:51] trust California be trust CA. So let's say one very layman
[5:55] example, you have a information security knowledge, I have a
[5:59] information security knowledge. Now you are looking for a CISSP
[6:04] training or you looking for the Commcia security plus training.
[6:07] The first factor based on which you evaluate me whether I have a
[6:10] certifications between you and me, the trusted bodies Commcia
[6:14] or ISC Square or IC2 or Isaka. So I meet the criteria.
[6:20] So here the California is the ICS 2.
[6:21] So I meet the criteria, I meet the criteria, I gain the
[6:24] knowledge, I obtain the certificate.
[6:27] Now if you are looking for the training, I will provide you my
[6:30] certificate which build the trust and then you will assure
[6:33] whatever the data I am sending you, it is accurate.
[6:36] So to authenticate this public key that it is coming from right
[6:40] source we involve the certificate authority and this
[6:43] is basically part of one infrastructure which is called
[6:46] as a PKI public key infrastructure.
[6:48] So public key infrastructure used to create, manage,
[6:52] distribute, use, store and revoke the certificate and it
[6:55] play a very important role in securing the communication
[6:59] ensuring the integrity and authenticity of the data.
[7:02] OK so we are using certificate for multiple reason like
[7:05] certificate used to encrypt the communication.
[7:08] So we are taking a same SSL example now.
[7:10] So we have a system A which is a client.
[7:16] OK, this is your website. Let's say example this website
[7:22] is Gmail. OK now client first time when he
[7:27] type sttpsgmail.com he send the request to Gmail request for
[7:35] access. Gmail will send his certificate.
[7:39] The certificate has a public key of Gmail.
[7:44] A download the certificate which has a signature.
[7:49] So first he verify the signature with the public key of the
[7:53] California. Because here we have a
[7:54] California which issue the certificate to Gmail if it
[7:57] encrypt. If it verifies successfully then
[7:59] only from the certificate he will extract the public key of
[8:03] Gmail. So client here does not have any
[8:05] key. So client will generate one key
[8:06] which is called as a session key.
[8:08] And the session key encrypt with the public key of Gmail and it
[8:12] send it to the Gmail. Gmail basically use his private
[8:15] key to verify the signature. Sorry, private key to decrypt
[8:18] the signature and you get the session key.
[8:19] So now whatever the communication happen, it is
[8:22] happened through the process only.
[8:23] This is the example of SSL because otherwise what happen
[8:26] you randomly trust any website share the informations and all
[8:29] that. So here between A&B, there's a
[8:32] trusted California we have which is called a certificate
[8:34] authority. So let me explain you with the
[8:37] diagram. So here you can see if I
[8:40] basically go to the connection secure certificate is valid.
[8:43] Here you can see the certificate common name is WR2.
[8:47] I go to detail. Now here you can see the version
[8:49] is 3 serial number certificate signature.
[8:53] So normally we generate generating an hash.
[8:55] Here the user SHA issuer is the Google trust.
[9:02] So 37 not after. Now here the most important part
[9:06] is this one subject public key. See when we talk in Google
[9:10] homepage, they are running on ECC OK and certificate subject
[9:14] public key is this. You can see that.
[9:17] So this is our signature part signature algorithm they use RSA
[9:21] and this is the signature value. So that is how the works.
[9:24] OK, so our server, our browser maintain the public keys of the
[9:27] trusted certificate authorities. So here between me and Gmail, we
[9:31] have a trusted California by which we can trust.
[9:34] So then only I can share information with the Gmail.
[9:37] Now in this scenario if you can notice here is we are using a
[9:40] certificate for multiple reasons.
[9:41] We are using certificate for encryption.
[9:43] As you can see HTTPS we are using it is used for
[9:47] authentication nowadays. What happens instead of sending
[9:48] a password for the to the server authentication, we send the
[9:51] certificate. So your company laptop has a
[9:53] predefined certificate. That's why when you connect to
[9:55] the company Wi-Fi or connecting VPN automatically use your
[9:59] stored certificate for authentication.
[10:00] Because certificate is act like a password.
[10:02] Also third, it has a signature which ensure it is coming from a
[10:06] trusted California. Now no one can able to hijack
[10:08] the certificate because someone hijacked the certificate, they
[10:11] need a California private key to sign it.
[10:13] Again. If someone compromises
[10:15] California private key, then accountability is compromised,
[10:17] that's a different story. Understood.
[10:20] So when we talking about certificate, certificate has a
[10:22] standard, OK. The standard is called as a ITU
[10:26] X 509. So it's a primary standard for a
[10:30] digital certificate within a PKI and define the structure, format
[10:34] and and use of a certificate across a wide range of
[10:37] application like SSL, TLS and all that.
[10:39] We involve certificate in that case when we are communicating
[10:42] the third party. Now when we talking about PKI,
[10:46] in PKI we have a 2 type of servers, one is called
[10:49] California and one is called RA. So let's see example, this is
[10:53] basically called as a California and this is called as a RA.
[10:57] So RA was introduced to offload the work of California.
[11:00] So initial suppose let's take example, this is a web server.
[11:03] So web server want a certificate so that the client can
[11:06] communicate. So web server send all this
[11:08] information to RA. RA will collect, verify all the
[11:12] information and then they pass the information to California.
[11:15] Ultimately California is the one who issue the certificate.
[11:18] But any example let me explain with the example.
[11:21] You are a candidate, you want to write COM share exam but you
[11:25] will go to Pearson view. So PSN view where you basically
[11:28] provide your information, does the physical verifications and
[11:31] all that and where you write the exam but ultimately it is a
[11:34] COMSIA who certified you as a CSS or security plus.
[11:38] Or you go to PSN view for CSSP exam.
[11:40] So you provide all the physical document, all everything to the
[11:44] PSN view but ultimately it is a COMSIA or IC2 is the one who
[11:49] issue and revoke the certificate.
[11:51] Same thing happened in PK. In PKI we have a 2 servers
[11:54] Certificate authority server which is responsible for
[11:57] issuing, revoking and managing a certificate.
[11:59] It verify the identity of requesting certificate and
[12:03] signing them using a private key.
[12:06] And California are the central to trust model PKI because it
[12:08] ensure that public key associated with the entities
[12:10] such as user, device, application are trustworthy.
[12:14] But to offload the work because I don't want all the requests go
[12:18] to California. So we introduce the next concept
[12:19] which is called as a RA. Now RA act like a intermediate
[12:23] tree you know between the user and California and it is
[12:27] responsible for accepting a request for certificate
[12:30] authentications and forward to approve the request to
[12:32] California. And RA was introduced to offload
[12:35] the process of California. That is the process we have.
[12:38] So let's understand the step by step process how the certificate
[12:41] works. So first step is to obtain the
[12:43] certificate. So as we discussed already, this
[12:46] is my client and this is my web server.
[12:49] OK, So what I web server need is everyone should trust web
[12:52] server. OK everyone should trust web
[12:54] server. So web server need to obtain the
[12:56] certificate. So first step is enrollment.
[12:58] So to obtain certificate you prove your public key to the
[13:02] California OK and this process called as a enrollment.
[13:06] Now when you receiving a certificate you verify it by
[13:09] checking a California signature. So here CS issue the certificate
[13:13] then he provide the certificate to the client.
[13:16] The client maintaining a public keys of the trusted California.
[13:19] So when they receive a certificate, in the certificate
[13:21] we have a signature. So signature is verified with
[13:24] the help of public key or California.
[13:26] So if the signature verify then only we extract the public key.
[13:30] Now second thing in the certificate we check the
[13:32] revocation status. This is the very important part
[13:36] revocation status. Because sometime what happen the
[13:40] certificate we consume, it is a revoked.
[13:43] OK. So always remember in the
[13:44] information security we never accept a revoke certificate.
[13:48] It is same like you know you looking for the CISSP training
[13:50] or Commcia security plus training from me.
[13:53] My certificate is basically revoked by the IC 2 or Commcia
[13:57] in the month in the year of 2023.
[14:00] So you will not trust me. See knowledge is different and
[14:03] attestation is different. So one is simple principle rule
[14:06] is that when we receive any certificate, we first check the
[14:11] certificate valid. It is same like you know you're
[14:13] riding a bike and suddenly police or cop has stopped you
[14:19] and asking you for a license before doing any kind of a
[14:23] communication. So license will basically give
[14:26] the information primarily whether it is revoked or valid.
[14:29] The question is how they check. So there is a two way to check
[14:34] whether certificate is valid or revoked or not.
[14:37] One is called as a CRL process. In my further slide we discussed
[14:40] CRL stand for certification revocation list.
[14:44] So as a system we maintain the list of certificate which is
[14:47] expired. We maintain the serial number of
[14:50] the certificate which is revoked not expire revoked.
[14:53] When we revoke any certificate we give the number to that
[14:56] revoke can be happen for multiple reason.
[14:58] So we maintain the list of certificate which is revoked.
[15:01] So when a server send a certificate, we check the
[15:03] certificate number in that offline list and that list is
[15:07] called as certificate revocation list.
[15:09] If the number in the list, I will not accept that
[15:12] certificate. It is same like I'm giving you
[15:14] the currency which is already revoked by the government but it
[15:18] is a time consuming task. It is same like I shown you.
[15:21] I shown my driving license to the police and police called to
[15:26] the transport department dictating my number and manually
[15:30] they're checking in the files. On the other side, we have a
[15:34] second process which is called as a OCSP.
[15:37] In the OCSP what happen is when we sending a certificate to the
[15:41] client immediately online they check the certificate same like
[15:45] you know police has stopped ask for the driving license number.
[15:48] So I enter the number in the app and immediately I got alert.
[15:52] So if you get a question whether it's a security plus or sorry
[15:56] CSSP or SSCP's, what is the primary objective OCSP.
[16:01] So OCSP is faster because it do the revocation check in the
[16:05] online phase challenge with the CRL on a regular basis, we have
[16:10] to download the list of revoked certificate which is a time
[16:14] consuming activity. OK, so latency issues there when
[16:18] it comes to the CRL. Now here the certificate is
[16:22] revoked for a multiple reason. When certificate was compromised
[16:26] SoCal in issue the revoked certificate when it is array
[16:29] issues or there's a subject got change the websitesgmail.com it
[16:33] move to gmail.co. So they have to change the
[16:35] certificate or change in a security association.
[16:38] So these are the multiple reasons we have because of which
[16:41] the certificate we revoke see expire is not revoke because of
[16:44] expire we revoke understood. So these are the four conditions
[16:47] we have in which we revoke the certificate.
[16:49] The first the compromise certificate like someone has
[16:51] compromise and then start using resending, resending, resending.
[16:55] So like let's say example someone has took my certificate,
[16:57] edit the my name to his name and start circulating everywhere.
[17:01] So I request the IC to issue me the new certificate number or
[17:04] errorly issued not associate the random numbers or change the
[17:08] certificate. We change the subject name
[17:09] Gmail, Co or the entire entity got changed.
[17:12] So these are the multiple reasons we have because of which
[17:15] we revoke the certificate and expiration is also one of the
[17:18] reason to revoke. Now we have a different type of
[17:20] certificate standard. The first standard is called as
[17:24] a PKCS public Key Cryptography standard.
[17:28] So if this is something used in a laboratories OK for the
[17:31] certificate management like RSL laboratories use.
[17:34] Second is called as a PIV certificate, Personal Identity
[17:38] Verification. It is a standard used by the US
[17:40] government for the smart card. And 3rd is called as a CVC, so
[17:44] Card Verifier certificate. It's a standard which is used in
[17:47] the European Union for certificate on smart cards
[17:50] particularly for East passports. So the certificate is not only
[17:53] about NCISP. So certificate is used in the
[17:55] information security and physical security also.
[17:58] Now as I said revocation status, the 1st is called as a CRL.
[18:02] So CRL maintain the list of certificate which has been
[18:05] revoked by the CM and reason for the revocation might include
[18:08] compromise of the private key and CRL is used by the entities
[18:13] to verify the status certificate.
[18:14] If certificate is listed on the CRL, it is considered invalid.
[18:18] OK, so we will not go for the things, let's say example a
[18:21] company have a internal PKI and they maintain the CRL to manage
[18:24] the revocation certificate those who leaving the company.
[18:27] So that is how we basically maintain the CRL.
[18:30] But on the other side when we say OCSP, OCSP certificate
[18:35] obtain revocation status of the digital service in real time.
[18:37] So any question talking about digital real time and all that
[18:40] answer is OCSP and it allow entity to query a California
[18:43] directly on the function that's why it is faster than the CRL.
[18:49] OK? So OCSP provide more efficient
[18:52] and timely method for checking the status and required.
[18:56] The connection between the client and server should be
[18:58] secure. So when you visit a secure
[19:00] website you browser might use OCSP check if the website
[19:02] certificate is valid or not. OK.
[19:05] So this is the process we have. So OCSP is the online process,
[19:09] immediately check CRL is the offline process.
[19:12] OK, so let's understand whether you understood this topic or not
[19:15] with some questions which give you the idea.
[19:17] OK, so let's start with some coffee questions.
[19:20] So first question, what is the primary objective of the PKI
[19:25] option? Encrypted address?
[19:27] It's not necessary. We can use encrypt in transit
[19:29] also, but that is not a primary rule.
[19:31] Second is facilitate secure communication, authentication
[19:33] over network, which makes sense. Store user credential securely,
[19:37] but that is something we can achieve with the help of
[19:38] encryption. Manage distribute software
[19:41] bridge. That is also one of the
[19:42] requirement, but the biggest is basically called as AB.
[19:46] By end of the day, it is help you to build the trust party
[19:48] communication, authentications and all that.
[19:50] So let's move to the next question.
[19:53] What is the primary usage of OCSP?
[19:56] Generate a certificate, No Encrypt the communication
[19:58] between the client server? No Check the real time
[20:01] revocation status certificate. Make sense.
[20:03] Store public key in security V Store private key not a public
[20:06] key. So answer is basically C for
[20:08] Charlie. Check the real time certificate.
[20:12] Third question, what is the primary usage of CRL?
[20:15] Distribute the public keys No list certificate have been
[20:19] revoked before expiration date. Make sense?
[20:21] Manage the issue of certificate no or encrypt the communication
[20:25] again that is for the session key and all that.
[20:27] So answer is basically B for beta.
[20:30] So let's understand with the scenario based questions.
[20:33] Your organization has implemented the PKI to secure
[20:37] the e-mail communication among the employees.
[20:39] The PK is configured to issue a certificate to each employee.
[20:42] The Organization Security policy required sensitive emails must
[20:45] be encrypted and digitally signed before being sent.
[20:48] OK, fine. Recently the employee reported
[20:50] their receiver digitally signed e-mail from the colleagues.
[20:54] OK, but when they check the certificate they notice that it
[20:57] has been revoked. So what should be the employed
[21:02] door? In response I will see the
[21:04] e-mail with revoke certificate. What does this indicate about
[21:06] the PKI? So option A ignore the
[21:08] certificate status. This indicate that PK is only
[21:12] used for encryption, not for authentication.
[21:13] Report the incident. Report the incident to the IT
[21:18] secure team. Definitely this indicate that
[21:20] PKI is being used to ensure both encryptions and authentication.
[21:23] Revoke certificate may indicate potential security breach.
[21:26] Option C is reply the e-mail, ask the sender to resend the
[21:29] e-mail with a new certificate. This indicate PK has been used
[21:32] as a you know primary for encryption and revocation of the
[21:37] certificate which is not a crucial authentication process
[21:39] and delete the e-mail immediately as revoked
[21:43] certificate mean e-mail is automatically malicious.
[21:45] See this indicate misunderstanding of PKI
[21:49] certificate revocation alone does not mean the e-mail is
[21:52] malicious. OK, so answer is as a
[21:54] practitioner my role is to report only in this scenario
[21:58] employee should report the incident to the IT security
[22:00] because the use of a revoked certificate indicate the
[22:03] certificate should no longer be trusted.
[22:05] And this could I repeat this could be due to the number of
[22:09] reason it can be certificate been compromised or employee
[22:12] leaving the organization. So this is all from my side.
[22:15] Do let me know how do you find this video and do let me know
[22:19] does it met your your goal? Does it help you to clear your
[22:22] doubt regarding a PKI? So this is all from my side and
[22:28] if you need new to the channel to subscribe to the channel and
[22:30] click on the bell icon to make sure you should not miss my
[22:33] future videos on a similar topic.
[22:35] Good day, Bye.

Shows are listed from Apple Podcasts' charts and directory, and Podcast Index where it is used. Every show and episode belongs to its publisher and plays from the publisher's own feed; this site hosts none of them.
