• Docs
  • Talk to an expert
Blog
Blog
BlogProductCase studiesNewsInsights
Blog

What is an SSL/TLS certificate?

securityinfrastructure
25 November 2026
Share

TL;DR

  • An SSL/TLS certificate is a small data file that proves a website is who it says it is and lets the browser set up an encrypted connection.
  • It's what puts the https and the padlock in the address bar.
  • TLS is the current technology. SSL is its retired predecessor, but people still say "SSL certificate" out of habit.
  • Certificates are issued by trusted organizations called certificate authorities. Let's Encrypt issues them for free.
  • Certificates expire, and expired certificates cause scary browser warnings, so automatic renewal matters.
  • Upsun Cloud provides free Let's Encrypt certificates for every environment and renews them automatically. You can also bring your own.

An SSL/TLS certificate is a digital document that a website presents to prove its identity. Browsers check it before they connect, and once they trust it, everything sent between the visitor and the site is encrypted, so nobody in between can read or change it.

Every site needs one today. Browsers label sites without HTTPS as not secure, and many features only work over secure connections. This guide explains how certificates work, the different types, and how to fix common errors.

SSL vs TLS

Key takeaway: TLS replaced SSL years ago. "SSL certificate" and "TLS certificate" mean the same thing in everyday use.

SSL, Secure Sockets Layer, was the original technology for securing web connections. It had security flaws and was retired, and TLS, Transport Layer Security, replaced it. Every secure website today uses TLS, mostly versions 1.2 and 1.3.

The name stuck, though. Hosting providers and certificate sellers still advertise "SSL certificates", but what you get is a certificate used with TLS. The certificate itself doesn't depend on which protocol version is used.

What a certificate does

Key takeaway: a certificate does two jobs. It proves the site's identity, and it makes an encrypted connection possible.

JobHow it works
Proves identityA certificate authority checks that whoever requested the certificate controls the domain, then signs the certificate. Browsers trust a set list of authorities, so they can check the signature
Enables encryptionThe certificate contains a public key. The browser uses it to agree on a secret key with the server, and that secret encrypts everything sent afterward

When you visit https://example.com, the browser and server go through a quick exchange called the TLS handshake:

  1. The browser connects and asks for the site's certificate.
  2. The server sends its certificate.
  3. The browser checks that the certificate is valid, unexpired, signed by a trusted authority, and issued for example.com.
  4. If everything checks out, the two agree on a shared secret key, and the encrypted conversation begins.

All of this happens in a fraction of a second, before the page starts loading.

Types of certificates

Key takeaway: certificates differ in how much the authority checks, and in how many domain names they cover.

By validation level:

TypeWhat the authority checksTypical use
Domain validated (DV)That you control the domainMany websites. Let's Encrypt certificates are DV
Organization validated (OV)Domain control, plus that the organization existsBusiness sites that want the company name in the certificate details
Extended validation (EV)A more thorough check of the organizationSites where buyers ask for it, such as some financial services

By coverage:

TypeCoversExample
Single domainOne namewww.example.com
Multi-domainSeveral named domainsexample.com, www.example.com, shop.example.com
WildcardEvery subdomain at one level*.example.com

All of them encrypt traffic equally well. The difference is in the identity checks, not the strength of the encryption.

How long certificates last

Key takeaway: certificates expire on purpose, and lifetimes are getting shorter, which makes automatic renewal essential.

Every certificate has an expiry date. Let's Encrypt certificates last 90 days, and paid certificates have historically lasted longer. Short lifetimes limit the damage if a certificate's private key is ever stolen, and the industry is moving toward shorter maximum lifetimes in stages over the next few years.

The practical upshot: renewing certificates by hand is becoming impractical. Tools and platforms that renew certificates automatically, before they expire, prevent certificates from expiring unnoticed.

Common certificate errors and how to fix them

Key takeaway: browsers show a warning when a certificate is expired, issued for the wrong name, or can't be traced back to a trusted authority.

ErrorWhat it meansHow to fix it
Certificate expiredThe certificate's end date has passedRenew it, and set up automatic renewal so it doesn't happen again
Name mismatchThe certificate doesn't cover the address the visitor used, often www vs the bare domainGet a certificate covering every name you use, or redirect one to the other
Untrusted or self-signedThe certificate wasn't issued by an authority the browser trustsUse a certificate from a trusted authority
Incomplete chainThe server didn't send the intermediate certificates that link it to a trusted authorityInstall the full certificate chain your authority provides
Mixed contentThe page is secure, but it loads images or scripts over plain httpChange those addresses to https

Certificates on Upsun Cloud

Key takeaway: on Upsun Cloud, every environment gets a free certificate automatically, renewed without you doing anything. You can also bring your own.

According to the Upsun docs, Upsun Cloud provides free Let's Encrypt certificates for all sites and environments, including preview environments. To use them, your routes need to use HTTPS, and your domain's DNS needs to point to your project. Our guide What is DNS? explains how to set that up.

What to knowDetails from the Upsun docs
Lifetime and renewalCertificates are valid for 90 days and renewed automatically 28 days before they expire
Renewals redeploy the environmentRenewals apply pending security updates and run the post_deploy hook, so make that hook safe to run more than once
Hostname limitUp to 100 hostnames per certificate, one certificate per environment
Custom certificatesSupported free of charge, including extended validation and wildcard certificates. Add one with upsun domain:add <domain> --cert <file> --key <file>
Custom certificate about to expireSeven days before expiry, Upsun Cloud replaces it with a Let's Encrypt certificate to prevent downtime
Checking certificatesupsun certificates lists the certificates on a project

You can also tighten security in your routes configuration. This example rejects connections older than TLS 1.3 and turns on HSTS, which tells browsers to always use HTTPS for your site:

routes:
  "https://{default}/":
    type: upstream
    upstream: "myapp:http"
    tls:
      min_version: TLSv1.3
      strict_transport_security:
        enabled: true
        include_subdomains: true
        preload: true

Turn on HSTS preloading with care: once browsers have your domain on their preload list, they'll refuse plain http connections to it, and removal takes time.

For the engineering behind it, read the Dev Center post How Upsun provisions TLS certificates at scale.

You can deploy on Upsun Cloud free for 15 days, with no card needed, or read the HTTPS routes documentation.

Frequently asked questions

What is the difference between SSL and TLS?

TLS is the modern replacement for SSL, which was retired because of security flaws. "SSL certificate" is still the common name for certificates used with TLS.

Are free SSL certificates safe?

Yes. A free Let's Encrypt certificate encrypts traffic just as strongly as a paid one. Paid certificates can add organization checks or support, not stronger encryption.

What happens when an SSL certificate expires?

Browsers show visitors a full-page warning, and many people leave. Automatic renewal prevents it.

What is a wildcard certificate?

A certificate that covers every subdomain at one level, such as shop.example.com and blog.example.com under *.example.com.

How do I check a website's certificate?

Click the padlock or site information icon in your browser's address bar to see who issued it, which names it covers, and when it expires.

Does Upsun Cloud provide SSL certificates?

Yes. Upsun Cloud provides free Let's Encrypt certificates for every environment and renews them automatically. You can also upload your own.

Stay updated

Subscribe to our monthly newsletter for the latest updates and news.

Deploy possibility.
Try Upsun for free.

Build with DispatchDeploy on Cloud