TechBuzzPro

What Is a Certificate on a Computer? Definition & Use

· 6 min read · Windows & PC

In this article
  1. Background and Origin
  2. How a Certificate Works
  3. Types of Certificates
  4. How to Choose the Right Certificate
  5. Common Problems and How to Fix Them
  6. Self‑Signed vs. CA‑Signed: A Comparison
  7. Costs, Safety, and Best Practices
  8. Alternatives to Traditional PKI
  9. Frequently Asked Questions

A certificate on a computer is a digital document that binds a public key to an identity, allowing the system to verify who you are and to encrypt communications.

Background and Origin

The term "certificate" in computing derives from the traditional paper certificate that proves a fact, such as a birth certificate. In the 1970s the concept was transferred to cryptography when researchers needed a way to prove that a public key truly belonged to a given person or service. The most widely used format, X.509, was first defined in the International Telecommunication Union’s standards for public‑key infrastructure (PKI) in 1988. Since then the word has become standard technical jargon; it is not slang or a non‑standard usage.

How a Certificate Works

Certificates rely on asymmetric cryptography. The owner generates a key pair: a private key that stays secret and a public key that can be shared. The certificate contains the public key, the owner’s name (or domain name), an expiration date, and a digital signature from a trusted Certificate Authority (CA). When a program receives a certificate it performs three checks:

  1. Validate the CA’s signature using the CA’s public key, which is pre‑installed in the operating system’s trust store.
  2. Confirm that the certificate has not expired or been revoked.
  3. Match the identity in the certificate (e.g., "example.com") with the resource being accessed.

If all three checks succeed, the program can trust the public key and either encrypt data to the owner or verify a digital signature created with the private key.

Types of Certificates

Several specialized certificates exist, each serving a different purpose:

  • SSL/TLS certificates – Secure web traffic (HTTPS). They bind a domain name to a public key.
  • Code‑signing certificates – Allow developers to sign executables so Windows or macOS can confirm the software has not been tampered with.
  • S/MIME certificates – Used by email clients to encrypt and digitally sign messages.
  • Client authentication certificates – Stored on a user’s device and presented to a server to prove the user’s identity without a password.
  • Self‑signed certificates – Issued by the same entity that owns the key; useful for testing but not trusted by default.

How to Choose the Right Certificate

When selecting a certificate you should consider four factors:

  1. Purpose – Pick the type that matches your use case (e.g., SSL/TLS for a website, code signing for an application).
  2. Trust level – For public‑facing services you need a CA‑signed certificate that browsers recognize. Internal tools may accept a self‑signed or enterprise‑issued certificate.
  3. Validity period – Most CAs issue certificates for 1 year or 2 years. Shorter periods reduce exposure if a key is compromised.
  4. Key size and algorithm – Modern standards recommend RSA 2048‑bit or ECDSA 256‑bit keys. Avoid deprecated algorithms such as SHA‑1.

After deciding, you typically generate a Certificate Signing Request (CSR) in the OS or server software, submit it to the CA, and install the returned certificate along with any intermediate chain files.

Common Problems and How to Fix Them

Even a correctly issued certificate can cause errors if the surrounding configuration is wrong. Below are the most frequent issues and safe troubleshooting steps.

  1. Browser shows "Not Secure" or "Certificate error"
    • Check that the full certificate chain (leaf, intermediates, root) is installed. Missing intermediate certificates are a common cause.
    • Verify the domain name in the certificate matches exactly the URL you are visiting, including subdomains.
    • Ensure the system clock is accurate; an incorrect date will make a valid certificate appear expired.
  2. Code signing fails with "Invalid signature"
    • Confirm the signing tool is using the private key that matches the installed certificate.
    • Make sure the timestamp server is reachable; a timestamp allows the signature to remain valid after the certificate expires.
  3. Email encryption does not work
    • Both sender and recipient must have each other’s public keys imported into their address books.
    • Check that the S/MIME certificate is still within its validity window and not revoked.

If the above steps do not resolve the issue, regenerate the CSR, re‑issue the certificate, and repeat the installation process.

Self‑Signed vs. CA‑Signed: A Comparison

Understanding the trade‑offs helps you decide whether a self‑signed certificate is acceptable.

AspectSelf‑SignedCA‑Signed
Trust by defaultNo – browsers and OSes treat it as untrusted.Yes – pre‑installed root stores recognize major CAs.
CostFree (you generate it yourself).Usually requires payment, though some free CAs exist.
Use caseDevelopment, internal networks, testing.Public websites, commercial software distribution.
Revocation supportLimited – you must replace manually.Supported via OCSP or CRL.

Costs, Safety, and Best Practices

While a certificate itself may be free, the surrounding security measures have cost implications.

  • Private key protection – Store the private key in a hardware security module (HSM) or a protected OS keystore. If the key is leaked, an attacker can impersonate the owner.
  • Renewal management – Set reminders well before expiration; many CAs send email alerts, but a missed renewal can cause downtime.
  • Revocation handling – Implement Online Certificate Status Protocol (OCSP) checks or download Certificate Revocation Lists (CRLs) to ensure compromised certificates are not accepted.
  • Algorithm hygiene – Use at least RSA 2048 or ECDSA 256 and SHA‑256 for signatures. Avoid SHA‑1, MD5, or RSA 1024.

Following these practices reduces the risk that a valid‑looking certificate becomes a security liability.

Alternatives to Traditional PKI

In some environments, organizations choose different trust models.

  • SSH key fingerprints – For server access, SSH uses a trusted‑on‑first‑use model rather than X.509 certificates.
  • Zero‑Trust network access (ZTNA) – Relies on identity‑based tokens instead of TLS certificates for each connection.
  • Web of Trust – Used by PGP/GPG, where users sign each other’s keys without a central CA.

These alternatives can simplify management for specific scenarios but do not replace the need for X.509 certificates when you require browser‑trusted HTTPS or signed software distribution.

Frequently Asked Questions

Can I use a self‑signed certificate for a public website?

Technically you can, but browsers will show a warning because the certificate is not in the trusted root store. For a public site you should obtain a CA‑signed certificate, many of which are free.

Where are certificates stored on Windows?

Windows uses the Certificate Store, accessible via the MMC snap‑in "Certificates". System‑wide certificates are under "Trusted Root Certification Authorities"; user‑specific ones appear under the current user’s store.

Do I need a separate certificate for each subdomain?

Not necessarily. A wildcard certificate (e.g., *.example.com) covers any first‑level subdomain. However, some organizations prefer individual certificates for tighter control and revocation granularity.

How can I tell if a certificate has been revoked?

Most browsers automatically query the issuing CA via OCSP. You can also manually check a certificate’s revocation status using the "certutil -urlfetch" command on Windows or the "openssl" tool on Linux.

What is a certificate chain?

A chain is the ordered list of certificates from the leaf (your certificate) through any intermediate CAs up to a trusted root CA. Each link signs the one below it, creating a trust path.

Is a longer key always more secure?

Longer keys increase computational cost but provide diminishing returns after a certain point. RSA 4096 is stronger than RSA 2048 but slows handshakes; ECDSA provides comparable security with smaller keys and faster performance.