Sitemap

Public Key Certification

2 min readNov 28, 2018

--

Previously we mentioned that one important application of digital signatures is Public key certification. It is used in many popular secure networking protocols, including IPsec and SSL.

Press enter or click to view image in full size

Let’s consider Alice runs a pizza delivery business and Bob send Alice an order including his home address, the type of pizza he wants. He also includes a digital signature to prove to Alice that he’s the true source of the order. To verify the order, Alice obtains Bob’s public key (perhaps from a public key server or from the e-mail message) and checks the signature. In this manner, she rule of the possibility of prankster, and confirms the order.

The procedure is flawed in that Trudy could pretend to be Bob, send Alice the order with the digital signature and the public key to verify the signature all belong to Bob. Under this circumstance, Alice cannot verify the public key indeed belongs to Bob.

Get Miguel’s stories in your inbox

Join Medium for free to get updates from this writer.

In order for the digital signature, public private key verification to work, we need to be able to verify that the actual public key we are using to communicate is indeed belong to the entity.

Binding a public key to a particular entity is typically done by a Certification Authority (CA), whose job is to validate identities and issues certificates. A CA has the following roles:

  1. A CA verifies that an entity (a person, a router, and so on) is who it says it is. However, there are no mandated procedures for how certification is done, therefore one might (or might not!) be more willing to trust a CA that is part of a federal or state program. You can trust the identity associated with a public key only to the extent to which you can trust a CA and its identity verification technique.
  2. Once the CA verifies the identity of the entity, the CA create certificate that binds the public key of the entity to the identity. The certificate contains the public key and globally unique identifying information about the owner of the public key (for example, a human name or an IP address). The certificate is digitally signed by the CA.

How certificates can be used to combat pizza-ordering pranksters? When Bob places his order, he also sends his CA-signed certificate. Alice use the CA’s public key to check the validity of Bob’s certificate and extract Bob’s public key.

You can check more about CA at https://en.wikipedia.org/wiki/Certificate_authority

--

--

Miguel
Miguel

Written by Miguel

Planing is Guessing | Career is Switching