# Certificate authority

What is a certificate authority?

A certificate authority (CA) is an organization that issues [SSL certificates](/glossary/ssl-certificate). Before it signs a certificate for a domain, it checks that the requester controls that domain. Browsers and operating systems ship with a list of root certificates from the authorities they trust, and they accept a certificate only when its signatures lead back to one of those roots.

## How it works

To prove you control a domain, you complete a challenge the CA sets. With the ACME protocol, which many authorities support for automated issuance and renewal, the two common challenges are:

- HTTP: serve a token the CA gives you at a path under `/.well-known/acme-challenge/` on the domain.
- DNS: publish the token in a TXT record at `_acme-challenge.example.com`.

Once the challenge passes, the CA signs your certificate, not with its root key but with an intermediate that the root signed:

```text
Root CA            (in the browser's trust store)
  Intermediate CA  (sent by your server)
    example.com    (your certificate)
```

Your server has to send the intermediate along with its own certificate, so the client can build the chain up to the root it already has. Issued certificates are also recorded in public Certificate Transparency logs, where anyone can see which certificates exist for a domain.

## Why it matters

The authority you use, and the way you prove control, decides how renewal works. Automated renewal only keeps working while the validation path does: the challenge URL must stay reachable, or the DNS credentials your renewal client uses must stay valid. A CAA [DNS record](/glossary/dns-record) lets you name the authorities that may issue for your domain, and authorities check it before they issue.

## What can go wrong

- Renewal fails quietly. A redirect rule, a firewall or a maintenance page blocks the HTTP challenge, or the DNS API token expired. The current certificate keeps working until its end date, then the site breaks.
- A CAA record that does not list the authority you renew with, so the renewal is refused.
- Browsers stop trusting an authority, and every certificate it issued has to be replaced with one from another CA.
- The server sends its certificate without the intermediate.

## Check it

The [SSL/TLS certificate checker](/tools/ssl-checker) shows which authority issued the certificate a domain presents, with its validity dates and days until expiry. Ranetrace's [certificate monitoring](/features/certificate-monitoring) re-checks the certificate every hour and warns you before it expires, so a silent renewal failure surfaces in time.

Read this definition in a browser: https://ranetrace.com/glossary/certificate-authority
