Cyberstudy
1.4 In progress

Digital Certificates

13 flashcards

Summary

A digital certificate is a public key wrapped with information about its owner and signed by a certificate authority. Because the CA's signature can be checked, anyone who trusts the CA can trust that the key belongs to the named subject. Most certificates follow the X.509 standard.

In plain words

A digital certificate is like an ID card for a public key. It holds the key, who it belongs to, who issued it and the expiry date, all signed by a CA. Most follow the X.509 standard.

Detailed explanation

  • Digital certificate: A signed data structure that binds a public key to an identity such as a person, server or organization.
  • X.509: The ITU standard that defines the certificate format used on the internet.
    • Fields: Version, serial number, signature algorithm, issuer, validity period (not before and not after), subject, subject public key, and extensions such as subject alternative names and key usage.
  • Public Key Cryptography Standards (PKCS): A set of standards originally from RSA Laboratories that define formats, such as PKCS #10 for certificate requests and PKCS #12 for bundling a certificate with its private key.

Common file formats

  • PEM: Base64 text with BEGIN and END lines; common on Linux and web servers.
  • DER: The binary form of a certificate.
  • PFX / P12: A password-protected file containing a certificate and its private key.
  • CER / CRT: Common extensions for a certificate without its private key.

Important terms

taken from the text above
Digital certificate
A signed data structure that binds a public key to an identity such as a person, server or organization.
X.509
The ITU standard that defines the certificate format used on the internet.
Public Key Cryptography Standards (PKCS)
A set of standards originally from RSA Laboratories that define formats, such as PKCS #10 for certificate requests and PKCS #12 for bundling a certificate with its private key.
PEM
Base64 text with BEGIN and END lines; common on Linux and web servers.
DER
The binary form of a certificate.
PFX / P12
A password-protected file containing a certificate and its private key.
CER / CRT
Common extensions for a certificate without its private key.

Examples & real-world scenarios

  • A web server certificate shown when you click the padlock.
  • A user certificate used to sign email.
  • X.509 fields: subject, issuer, validity period, public key.

Scenario

A browser shows a certificate error because the certificate expired yesterday. The key is still fine, but the validity period is part of what the CA vouched for, so it's no longer trusted.

Common mistakes

  • Thinking certificates contain private keys. They contain public keys.
  • Ignoring expiry dates. Expired certificates break services.

Practical skills

  • Read the main fields of a certificate.

What I should remember

  • Digital certificate: A CA-signed binding of a public key to an identity.
  • X.509: The standard certificate format.
  • PKCS #12: Bundles a certificate with its private key, usually protected by a password.
  • Validity period: Certificates expire and must be renewed.