Every time you see https:// and a padlock, an SSL certificate is doing three jobs: proving the website is really the one you asked for, setting up encryption, and making sure nobody changed the data on the way.
Certificates used to be something you bought once a year and forgot about. That’s ending. Since 15 March 2026, public certificates can last at most 200 days, and the limit falls to 47 days by 2029. If your business renews certificates by hand, now is the time to understand how they work and to automate.
This guide covers what a certificate is, how it works, certificate authorities and intermediates, keys, the file formats (PEM, DER, CER, CRT, PFX, P7B), the validity changes, and what to do about them.
SSL or TLS?
SSL (Secure Sockets Layer) is the original protocol from the 1990s. Every version of SSL is broken and switched off. Today’s connections use TLS (Transport Layer Security), version 1.2 or 1.3.
The name “SSL certificate” stuck, though. An SSL certificate and a TLS certificate are the same thing. The certificate doesn’t decide the protocol; the server and browser do. Make sure your servers allow only TLS 1.2 and 1.3.
What’s inside a certificate
A certificate is a small, signed file (an X.509 certificate) that ties a public key to a name. Its main fields are:
| Field | What it means |
|---|---|
| Subject / Common Name | Who the certificate is for, e.g. www.example.com |
| Subject Alternative Names (SAN) | Every hostname it covers. Browsers check this field, not the Common Name |
| Issuer | The certificate authority (CA) that signed it |
| Valid from / Valid to | The validity period. Outside it, browsers show an error |
| Public key | The key that matches the server’s private key (RSA or ECDSA) |
| Key usage / Extended key usage | What it may be used for, e.g. Server Authentication |
| Serial number | A unique ID, used when a certificate is revoked |
| Signature | The CA’s digital signature over all of the above |
Because the CA signs the whole certificate, changing any field (for example, the name or the dates) breaks the signature, and browsers reject it.
Keys: the part you must protect
Certificates use public-key cryptography. You create a key pair:
- the private key stays on your server and must never be shared;
- the public key goes into the certificate, which anyone can see.
Data signed with the private key can be checked with the public key. During a connection, the server proves it holds the private key, so a copy of your certificate is useless to an attacker without the key. If the private key leaks, anyone can impersonate your site until the certificate expires or is revoked.
Key types:
- RSA 2048-bit is still the most compatible. RSA 3072 or 4096 is stronger but slower.
- ECDSA P-256 gives similar strength to RSA 3072 with much smaller keys and faster handshakes. It’s the modern default for most websites.
Good practice: generate a new key at every renewal (or at least regularly), keep key files readable only by the service account, never email them, and store PFX passwords in a password manager or vault.
The CSR
To get a certificate, you create a Certificate Signing Request (CSR). It contains your public key and the names you want, and it’s signed with your private key. The CA checks you control those names, then issues the certificate. The private key never leaves your server.
openssl req -new -newkey rsa:2048 -nodes -keyout site.key -out site.csr -subj "/CN=www.example.com"
ACME tools (more on these below) create the key and CSR for you.
Certificate authorities, roots and intermediates
Anyone can create a certificate. What makes one trusted is who signed it.
A certificate authority (CA) is a company or organisation that checks you control a domain, then signs your certificate. Examples include Let’s Encrypt, DigiCert, Sectigo, GlobalSign and Google Trust Services.
Trust works as a chain:
- Root certificate. The CA’s top certificate. Roots are built into operating systems and browsers in a root store (Microsoft, Apple, Google Chrome and Mozilla each run one). Root keys are kept offline in secure facilities.
- Intermediate certificate. Signed by the root and used for day-to-day issuing. If an intermediate is compromised, the CA can replace it without replacing the root in every device in the world.
- Leaf (server) certificate. Your certificate, signed by the intermediate.
When your browser connects, the server sends its leaf plus the intermediate(s). The browser follows the signatures up to a root it already trusts. If it reaches one, the chain is valid.
The most common mistake is installing only the leaf certificate. Some browsers fill the gap from a cache, others (and many apps, APIs and phones) fail with “unable to get local issuer certificate” or an “incomplete chain”. Always install the full chain (often called fullchain.pem or the CA bundle). The root itself doesn’t need to be sent.
Who checks the CAs?
CAs follow the CA/Browser Forum Baseline Requirements and are audited every year. Browser root programs can remove a CA that breaks the rules. This happens: Chrome stopped trusting new certificates from Entrust in late 2024, and from Chunghwa Telecom and Netlock in 2025, after compliance problems.
Every public certificate is also published in Certificate Transparency (CT) logs. You can search them at crt.sh to see every certificate ever issued for your domain, which is a great way to spot one you didn’t request.
How HTTPS uses the certificate
Here’s a simplified TLS 1.3 connection:
- Client hello. Your browser says which TLS versions and ciphers it supports, and which site it wants (Server Name Indication, SNI).
- Key exchange. Browser and server agree on fresh session keys (with ECDHE). In 2026, most browsers also add a post-quantum key exchange (ML-KEM), so recorded traffic stays safe even from future quantum computers.
- Certificate. The server sends its certificate chain and signs the handshake with its private key.
- Checks. The browser verifies the chain up to a trusted root, checks the name matches the site, checks the dates, and checks the certificate isn’t revoked.
- Encrypted data. Everything after that is encrypted with the session keys. The certificate’s job is done.
A useful detail: the certificate authenticates the server; the session keys do the encryption. Each connection gets new session keys, so a stolen private key can’t decrypt old recorded TLS 1.3 traffic (this is called forward secrecy).
DV, OV and EV certificates
| Type | What the CA checks | Typical use |
|---|---|---|
| DV (Domain Validated) | You control the domain (DNS record, file on the site or email) | Most websites, issued in seconds, often free |
| OV (Organisation Validated) | Domain plus the organisation’s legal identity | Business sites, some compliance needs |
| EV (Extended Validation) | Stricter identity checks | Banks, large brands. Browsers no longer show the company name in the address bar |
All three give exactly the same encryption. The difference is the identity checks behind them.
Important: the padlock means the connection is encrypted and the site owns the domain. It does not mean the site is safe. Most phishing sites have valid DV certificates. Teach staff to check the domain name, not the padlock.
Single, wildcard and multi-domain
- Single-name:
www.example.com(most CAs includeexample.comtoo). - Wildcard:
*.example.comcovers any one level, likeshop.example.com, but nota.b.example.com. Convenient, but one key protects every subdomain, so a leak exposes all of them. - Multi-domain (SAN): one certificate lists several names, like
example.com,example.netandmail.example.com.
Certificate file formats: PEM, DER, CER, CRT, PFX and P7B
This is where most confusion comes from. There are really only two encodings and two container types; the extensions are just conventions.
| Format | Extensions | What’s inside | Where you’ll see it |
|---|---|---|---|
| PEM | .pem, .crt, .cer, .key | Base64 text between -----BEGIN ...----- lines. Can hold a certificate, a chain or a key | Linux, Apache, Nginx, most tools |
| DER | .der, .cer | The same data in binary | Java, Windows, some appliances |
| PKCS#7 | .p7b, .p7c | One or more certificates (the chain), no private key | Windows, Java, some CAs’ downloads |
| PKCS#12 | .pfx, .p12 | Certificate plus private key (and usually the chain), password-protected | Windows/IIS, Azure, exporting and moving certificates |
| CSR | .csr, .req | Your certificate request (PEM) | Sent to the CA |
| Java KeyStore | .jks | Java’s own store for keys and certificates | Older Java apps (newer ones use PKCS#12) |
Quick rules:
- .cer and .crt don’t tell you the encoding. Open the file in a text editor: if you see
-----BEGIN CERTIFICATE-----, it’s PEM; if it’s unreadable, it’s DER. - Only PFX/P12 (and PEM .key files) contain a private key. If someone sends you a .cer and you need to install it on a server, the private key must already be on that server (where the CSR was made).
- A PFX is as sensitive as the private key. Use a strong password and delete copies you don’t need.
Converting between formats
# View a certificate
openssl x509 -in cert.pem -noout -text
# DER to PEM, and PEM to DER
openssl x509 -inform der -in cert.der -out cert.pem
openssl x509 -outform der -in cert.pem -out cert.der
# PFX to PEM (certificate and key separately)
openssl pkcs12 -in site.pfx -clcerts -nokeys -out cert.pem
openssl pkcs12 -in site.pfx -nocerts -nodes -out site.key
# PEM to PFX (key + certificate + chain)
openssl pkcs12 -export -out site.pfx -inkey site.key -in cert.pem -certfile chain.pem
# P7B to PEM
openssl pkcs7 -print_certs -in certs.p7b -out certs.pem
Does this key match this certificate? Compare the public key hashes. They must be identical:
openssl x509 -in cert.pem -noout -pubkey | openssl sha256
openssl pkey -in site.key -pubout | openssl sha256
On Windows, certutil -dump file.cer shows a certificate’s details, and this PowerShell lists the machine’s certificates with their expiry dates:
Get-ChildItem Cert:\LocalMachine\My | Select-Object Subject, NotAfter, Thumbprint
The big change: 200, 100 and 47-day certificates
In April 2025, the CA/Browser Forum approved ballot SC-081v3, proposed by Apple and supported by Google, Mozilla and Microsoft. It shortens the maximum lifetime of public TLS certificates in three steps:
| Certificates issued from | Maximum validity | Domain validation can be reused for |
|---|---|---|
| Before 15 March 2026 | 398 days | 398 days |
| 15 March 2026 (now) | 200 days | 200 days |
| 15 March 2027 | 100 days | 100 days |
| 15 March 2029 | 47 days | 10 days |
Organisation details checked for OV and EV certificates can be reused for 398 days (down from 825).
What this means in practice:
- A “1-year” certificate you buy today is either issued for up to 200 days or is a subscription where the CA reissues it (and you reinstall it) during the year.
- By 2027 you’ll replace each certificate about four times a year; by 2029, eight or more times a year.
- With 10-day validation reuse in 2029, the CA must re-check that you control the domain almost every time, so DNS or HTTP validation needs to be automated too.
Why the industry is doing this:
- Revocation doesn’t work well. If a key leaks or a certificate is issued wrongly, browsers often can’t check revocation reliably. A short life limits the damage.
- Information goes stale. Domains get sold and companies change. Shorter certificates mean fresher checks.
- Crypto agility. When the industry needs to change algorithms (for example, to post-quantum certificates), short lifetimes let it happen within months, not years.
- It forces automation, which removes the number one cause of certificate outages: someone forgetting to renew.
Let’s Encrypt is going further
Let’s Encrypt, which issues most of the web’s certificates for free, is moving faster than the rules require:
- Its certificates have always lasted 90 days.
- From 10 February 2027, the default becomes 64 days, and from 16 February 2028, 45 days. An opt-in profile already issues 45-day certificates.
- It also offers 6-day short-lived certificates for people who want them.
- It stopped OCSP in 2025 and stopped sending expiry reminder emails, so your own monitoring matters more.
If your renewal script runs “every 60 days”, it will break with 45-day certificates. Use an ACME client that supports ARI (ACME Renewal Information), which lets the CA tell your client when to renew.
Other changes you might have missed
- OCSP is being retired. CAs can now choose CRLs only, and browsers mostly use their own revocation lists (like Chrome’s CRLSets and Firefox’s CRLite). If you have firewalls or apps that insist on OCSP, check them.
- Public certificates are dropping “Client Authentication”. Chrome’s root program now limits public hierarchies to server authentication, so CAs are removing the Client Authentication EKU from TLS certificates through 2026 and early 2027. If a system uses a public TLS certificate to log in to another server (mutual TLS, some VPNs, SIP trunks, B2B APIs), move it to a private CA before your next renewal.
- CA checks got stricter. CAs must now validate domains from several network locations (multi-perspective issuance corroboration), which makes it harder to trick a CA with a hijacked route. CAA DNS records let you say which CAs may issue for your domain; add one.
- Private CAs aren’t affected. The limits apply to publicly trusted certificates. Internal certificates from your own CA (for example, Active Directory Certificate Services) follow your own policy, though shorter lifetimes are still a good idea.
- Post-quantum is coming in stages. Key exchange is already post-quantum in modern browsers. Post-quantum certificates are being designed now; short lifetimes will make the switch quicker.
How to get ready: a checklist for businesses
- Inventory every certificate. Websites, mail servers, VPNs, firewalls, load balancers, printers, NAS boxes, Wi-Fi controllers, Remote Desktop gateways, APIs. Search crt.sh for your domains to find ones you forgot.
- Automate renewal with ACME. Most hosting providers, Cloudflare, Microsoft Azure and many appliances already do this. Otherwise use Certbot or acme.sh (Linux), win-acme or Posh-ACME (Windows/IIS), Caddy (automatic HTTPS) or cert-manager (Kubernetes).
- Automate installation too. Renewing is only half the job. The new certificate must be deployed and the service reloaded.
- Plan for devices that can’t automate. Put them behind a reverse proxy that can, check for firmware with ACME support, or use a private CA for internal-only devices.
- Monitor expiry independently. Use an uptime or certificate monitor that alerts at 14 and 7 days, so a broken renewal is caught before customers see an error.
- Add a CAA record listing your CAs, and watch CT logs for unexpected certificates.
- Move mutual-TLS to a private CA if it uses public certificates.
- Retire old protocols. Allow only TLS 1.2 and 1.3, and check your site with a free test such as SSL Labs.
Common certificate errors and what they mean
| Error | Usual cause |
|---|---|
NET::ERR_CERT_DATE_INVALID | Certificate expired (or the device’s clock is wrong) |
NET::ERR_CERT_COMMON_NAME_INVALID | The site’s name isn’t in the certificate’s SAN list |
NET::ERR_CERT_AUTHORITY_INVALID | Self-signed, private CA, or missing intermediate |
| “unable to get local issuer certificate” | Server isn’t sending the full chain |
| “Your connection is not private” on public Wi-Fi | A captive portal or someone intercepting traffic. Don’t click through |
We cover fixing an expired certificate step by step in SSL Certificate Expired: How to Renew and Avoid Outages.
Frequently asked questions
Is an SSL certificate the same as a TLS certificate? Yes. “SSL certificate” is the old name that stuck. The certificate works with TLS 1.2 and 1.3; the SSL protocol itself is obsolete.
How long is an SSL certificate valid in 2026? Public certificates issued since 15 March 2026 are valid for at most 200 days. That drops to 100 days on 15 March 2027 and 47 days on 15 March 2029.
Do I still need to buy a 1-year certificate? You can buy a 1-year subscription, but the certificate itself will be reissued at least once during that year. For most websites, a free automated certificate (Let’s Encrypt or your host’s AutoSSL) works just as well; paid certificates add OV/EV identity checks, warranties and support.
What’s the difference between .cer, .crt, .pem and .pfx? .cer, .crt and .pem usually hold a certificate only, encoded as text (PEM) or binary (DER). A .pfx (or .p12) holds the certificate and its private key, protected by a password, and is used to move a certificate between servers.
Does the padlock mean a website is safe? No. It means the connection is encrypted and the site controls its domain. Phishing sites can get certificates too, so always check the domain name.
Do the new limits apply to internal certificates? No. They apply to publicly trusted certificates. Certificates from your own private CA follow your own policy.
What happens if my certificate expires? Browsers show a full-page warning, most visitors leave, and apps and APIs that connect to your server stop working. Automating renewal, plus independent expiry monitoring, prevents this.

