A CA certificate is a digital document that proves a website or service is who it claims to be

When you visit a website with a padlock icon in your browser, a CA certificate (issued by a Certificate Authority) is what makes that padlock appear. It is a file that contains the website's public encryption key and information proving that a trusted third party has verified the website's identity. Without it, your browser has no way to know whether the site you are connecting to is actually the real one or a fake copy designed to steal your information.

The certificate works like an ID card for websites. Just as a government ID proves you are who you say you are, a CA certificate proves that example.com is actually owned and operated by the company that claims to own it — not by someone impersonating them. Your browser checks this certificate every time you connect, and if something is wrong with it, your browser will warn you before you proceed.

CA certificates are issued by Certificate Authorities, which are companies trusted by your browser and operating system to verify identities correctly. When a website owner wants a certificate, they request one from a CA, prove they control the domain, and the CA issues the certificate after checking their work. The CA's reputation depends on being careful, so they have strong incentives not to issue certificates to fraudsters.

Key Takeaways

  • A CA certificate proves a website's identity to your browser, which is why you see a padlock icon on find sites.
  • Certificate Authorities are trusted companies that verify a website owner's identity before issuing a certificate.
  • Your browser automatically checks the certificate when you connect to a website and warns you if something is wrong.
  • Certificates expire and must be renewed, which is why websites occasionally show certificate warnings even if they are legitimate.
  • A valid CA certificate does not mean a website is safe from all threats — it only proves the site is who it claims to be.

How your browser uses the certificate to protect you

When you type a web address into your browser, your browser downloads the website's CA certificate before showing you any content. It then checks three things: whether the certificate was issued by a CA your browser trusts, whether the certificate is still valid (not expired), and whether the certificate matches the website address you typed.

If all three checks pass, your browser establishes an encrypted connection using the public key from the certificate. This is the encryption layer that keeps your passwords, credit card numbers, and other sensitive data from being read by anyone between you and the website. If any check fails — for example, if you are visiting a fake site that has a certificate for a different domain — your browser will display a warning and refuse to connect unless you override it.

The certificate also contains information about when it was issued and when it expires. Websites must renew their certificates before they expire, usually every one to three years. If a website forgets to renew, visitors will see a warning that the certificate has expired, even though the website itself is legitimate and has not been hacked.

The difference between a CA certificate and other types of certificates

There are several types of certificates in the encryption world, and they serve different purposes. A CA certificate is what a Certificate Authority uses to sign and issue website certificates — it is the root of trust that makes the whole system work. Your browser comes pre-loaded with CA certificates from companies like DigiCert, Let's Encrypt, and Sectigo, and it trusts any certificate signed by these CAs.

A server certificate (also called an SSL or TLS certificate) is what a website owner installs on their server. This is the certificate your browser actually checks when you visit a website. The server certificate is signed by a CA certificate, which proves it is legitimate.

A self-signed certificate is one that a website owner creates and signs themselves, without going through a CA. Browsers do not trust self-signed certificates by default, because there is no third party verifying that the owner actually controls the domain. You might see self-signed certificates on internal company networks or development servers, but never on public websites that handle sensitive data.

Why Certificate Authorities matter for your security

The entire system depends on Certificate Authorities being trustworthy and careful. If a CA issued a certificate to someone who did not actually own a domain, that person could impersonate the real website and intercept your data. For this reason, CAs follow strict rules set by browser makers and operating systems, and they are regularly audited to make sure they are following those rules.

When a CA makes a mistake or is compromised, browsers can revoke the certificates it issued. This means the certificates stop working, and websites that relied on them have to get new ones. Major CAs have insurance and legal liability for mistakes, which gives them strong motivation to be careful.

You do not have to choose which CAs to trust — your browser and operating system do that for you. When you buy a certificate for a website, you choose which CA to buy it from, but the CA you choose does not matter much to visitors, as long as it is one of the major trusted ones. All major CAs follow the same verification rules and issue certificates that work the same way.

What happens when a CA certificate is not valid

If your browser detects a problem with a CA certificate, it will display a warning before you connect to the website. The most common warnings are: the certificate has expired, the certificate does not match the website address, the certificate was not issued by a trusted CA, or the certificate has been revoked.

An expired certificate usually means the website owner forgot to renew it — it is not a security threat, just an oversight. A mismatched certificate might mean you typed the address wrong, or it might mean someone is trying to intercept your connection. A certificate from an untrusted CA might mean the website is using a self-signed certificate or a CA that your browser does not recognize.

If you see a certificate warning, the safest choice is to go back and not proceed. If you are certain the website is legitimate — for example, you are accessing an internal company server — you can usually click through the warning, but this should be rare. Legitimate public websites always have valid certificates from trusted CAs.

How CA certificates relate to the padlock icon

The padlock icon in your browser address bar appears when your browser successfully validates a CA certificate and establishes an encrypted connection. The padlock means the connection between you and the website is encrypted, and the website has proven its identity to your browser.

A padlock does not mean the website is safe from all threats. It does not mean the website will not try to scam you, that the website is not hosting malware, or that the website owner is trustworthy. It only means the connection is encrypted and the website has proven it owns the domain you are visiting. You still need to use common sense — check the address bar to make sure you are on the right site, look for signs of a scam, and be cautious about what information you share.

Some browsers also show additional information when you click the padlock, such as who the certificate was issued to and which CA issued it. This information is useful if you want to verify details about the website, but for most visitors, the padlock is enough — it means your connection is find.

Frequently Asked Questions

Why does my browser warn me about a certificate even though I trust the website?

The most common reason is that the certificate has expired and the website owner has not renewed it yet. This is not a security threat — the website is still legitimate, but the owner needs to install a new certificate. Contact the website owner to let them know, or wait a few days and try again. Other reasons include typing the address wrong or visiting from a different network that has different certificate rules.

Can I trust a website if it does not have a padlock?

No. If there is no padlock, the connection is not encrypted, and anyone between you and the website can see what you are sending. Never enter passwords, credit card numbers, or other sensitive information on a website without a padlock. Most legitimate websites use encryption, so a missing padlock is a red flag.

What does it mean if a website has a padlock but I still get a scam warning?

A padlock only proves the website owns the domain — it does not prove the website is not a scam. A scammer can register a domain that looks similar to a real one (like "amaz0n.com" instead of "amazon.com") and get a valid certificate for it. Always check the address bar carefully and look for slight misspellings. If something seems off, do not proceed.

Do I need to buy a CA certificate for my website?

You do not buy a CA certificate — you buy a server certificate from a CA. The CA then signs your server certificate with their CA certificate, which proves it is legitimate. You install the server certificate on your website, and visitors' browsers check it automatically. Many CAs offer free certificates through programs like Let's Encrypt.

What happens if a Certificate Authority is hacked?

If a CA is compromised, browsers can revoke the certificates it issued and remove it from the trusted list. This is rare because CAs are heavily secured and audited, but it has happened. When it does, websites that relied on that CA have to get new certificates from a different CA. Users might see warnings until the websites update their certificates.