What Is a TLS Certificate?
A TLS certificate is a small digital file installed on a server. It does two jobs. It proves that the server is the one that owns the domain name, and it carries the public key that starts an encrypted session. People still say "SSL certificate" for the same thing. The difference is explained in our guide on SSL versus TLS.
A TLS certificate: what is inside
| Field | What it holds |
|---|---|
| Subject | The name the certificate was issued to |
| Subject Alternative Name | The list of hostnames it is valid for |
| Public key | The key clients use to start the handshake |
| Issuer | The certificate authority that signed it |
| Validity | Start and end dates |
| Signature | The CA's proof that the contents were not changed |
The matching private key is not in the certificate. It stays on your server and must be kept secret.
How a TLS certificate is used in a connection
- The browser connects and says which hostname it wants.
- The server sends its certificate and any intermediate certificates.
- The browser checks that the name matches, the dates are valid and the signature chains to a trusted root.
- Both sides agree on session keys. Newer TLS versions do this with ephemeral key exchange.
- Traffic is now encrypted and checked for tampering.
If any check fails, the browser shows a warning. The most common causes are an expired certificate, a name mismatch, or a missing intermediate. Our guide to fixing SSL issues behind reverse proxies covers several of these.
Validation levels
Certificates differ in how much the CA checked before issuing. Domain Validated certificates prove control of a domain. Organization Validated and Extended Validation add identity checks. The encryption is the same. Most sites do well with a free domain validated certificate. See when to upgrade to paid SSL for cases where more is needed.
Where certificates come from
Public certificate authorities issue certificates that browsers trust. Several issue free certificates over the ACME protocol, with automatic renewal. Compare them in our provider comparison. Hosting companies may also install a certificate for you, as described in free SSL versus hosting provider SSL.
Inspect a certificate
echo | openssl s_client -connect example.com:443 -servername \
example.com | openssl x509 \
-noout -subject -issuer -dates -ext subjectAltName
Check the dates first. An expired certificate is the single most common cause of sudden HTTPS outages.
Life cycle
- Generate a private key and a certificate signing request (CSR).
- Submit the CSR to a CA and complete validation.
- Install the certificate and its chain on the server.
- Renew before expiry. Automate it where possible.
- Replace the key if you suspect it leaked.
Formats you will meet
| Format | Typical extension | Notes |
|---|---|---|
| PEM | .crt, .pem, .key | Text with BEGIN and END lines |
| DER | .der, .cer | Binary version of the same data |
| PKCS#12 | .pfx, .p12 | Certificate and key in one protected file |
| Java keystore | .jks | Used by some Java servers |
Conversions between formats are routine. For Java, follow converting a PEM certificate to a keystore. To confirm a key and certificate belong together, use the key pair matcher guide.
Summary
A TLS certificate is how a server proves who it is and how a browser gets the key to encrypt traffic. Keep the chain complete, the names correct and the renewal automatic, and most problems never appear.
Related reading: the request that produces it, the validation levels and the request that produces the file.
Frequently Asked Questions
How long is a TLS certificate valid?
Lifetimes have shortened over the years. Many free CAs issue certificates that last 90 days. The industry limit for public certificates is 200 days today, 100 days from 15 March 2027 and 47 days from 15 March 2029, so renewal has to be automatic. Check your CA's current policy and automate renewal so the number does not matter.
Does a TLS certificate protect my server?
No. It protects data in transit and proves identity. You still need patches, strong passwords and a firewall.
Can one certificate serve many sites?
Yes, with a wildcard or multi-name certificate, as long as every hostname is in the Subject Alternative Name list. The key and certificate are then shared, so protect the key carefully.
What happens when it expires?
Browsers show a full-page warning and many API clients refuse to connect. Expiry is a human or automation failure, not a technical limit, so set alerts a few weeks ahead.
Is a TLS certificate the same as an SSL certificate?
Yes in practice. The file is the same X.509 certificate, and the name SSL is a leftover from the protocol it was first used with. A CA that sells an SSL certificate issues one that works with TLS.
What happens if the certificate name does not match the site?
The browser shows a name mismatch warning, which most visitors read as unsafe. The name must appear in the subject or in the subject alternative names, and a wildcard covers only one level of subdomain.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.