312-50 ยท Cryptography
Public key infrastructure
CA, RA, X.509 certificates, certificate chain, CRL and OCSP, web of trust, TLS handshake overview.
Key points
- CA: signs X.509 certificates binding a subject to a public key. RA: vets identities for the CA.
- Clients validate the chain: server (leaf) certificate, intermediates, trusted root.
- Revocation: published in CRLs or checked live with OCSP.
- PGP: decentralised web of trust instead of CAs.
- TLS handshake: server presents its certificate, client validates it, both derive session keys.
Practice questions
Which entity digitally signs a certificate to vouch for the subject's public key?
- The registration authority
- The certificate authority
- The certificate subject itself, always
- The OCSP client
Show answer
Answer: B. The certificate authority
The certificate authority signs certificates. An RA only verifies identity, and a CRL is a list of revoked certificates.
Which items are found in an X.509 certificate?
- The subject's public key
- The subject's private key
- The issuer's digital signature
- The owner's login password
- A validity period
Show answer
Answer: A. The subject's public key, C. The issuer's digital signature, E. A validity period
A certificate carries the subject, the subject's public key and the issuer's signature (plus validity dates and more). The private key and the owner's password never belong in it.
True or false: during a TLS handshake the server sends its private key to the client inside its certificate.
Show answer
Answer: False
The certificate carries only the public key. The private key never leaves the server; it is used to prove possession and take part in key establishment.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
