Website Reliability Knowledgebase

SSL/TLS Certificates

Understand HTTPS, certificate authorities, certificate expiration, renewals, certificate chains, AutoSSL, TLS versions, CSR generation, and how to prevent certificate-related outages.

SSL/TLS certificates are one of the most important trust layers on the web. They allow websites, APIs, dashboards, login forms, checkout pages, and customer portals to use HTTPS instead of plain HTTP. When certificates are valid and installed correctly, visitors can connect securely. When certificates expire or are misconfigured, browsers may block the site, APIs may fail, and customers may see security warnings even if the server itself is online.

This guide explains SSL/TLS in practical terms for website owners, developers, system administrators, support teams, and business operators who need to keep public services secure and available.

SSL/TLS monitoring is included with every Spark Uptime plan. Spark Uptime includes SSL/TLS certificate monitoring and SSL/TLS expiration notifications on all plans so you can stay ahead of expiring, invalid, mismatched, or broken certificates before visitors encounter browser warnings.

What SSL/TLS means

People often say “SSL certificate,” but modern HTTPS uses TLS, or Transport Layer Security. SSL, or Secure Sockets Layer, was the older protocol family. SSL 2.0 and SSL 3.0 are obsolete and should not be used. In everyday hosting and website conversations, the phrase “SSL certificate” usually means a certificate used for HTTPS with modern TLS.

Simple definition An SSL/TLS certificate is a digital certificate that helps prove a website is allowed to use a hostname and allows browsers to create an encrypted HTTPS connection to that site.
TermMeaning
SSLOlder Secure Sockets Layer protocol family. SSL is obsolete, but the name is still commonly used in customer-facing language.
TLSThe modern Transport Layer Security protocol used by HTTPS.
HTTPSHTTP over TLS. This is what browsers use for secure websites.
Certificate AuthorityA trusted organization that issues public certificates after validating control of a domain or organization identity.
Private keyThe secret key that belongs on the server. It must never be shared publicly.

Why SSL/TLS certificates matter

A valid certificate does more than remove browser warnings. It helps authenticate the website, encrypt traffic, protect session cookies, secure login forms, and prevent attackers from modifying traffic between the visitor and the server. For public websites, HTTPS is now an expected baseline.

  • Encryption: prevents plain-text exposure of traffic between the browser and server.
  • Authentication: helps prove the browser reached the intended hostname.
  • Integrity: helps prevent content from being modified in transit.
  • Trust: avoids browser warnings that can damage customer confidence.
  • Availability: expired or invalid certificates can make an otherwise healthy website appear down.
Operational warning A certificate outage is an availability incident. Visitors may not care whether the server is technically online if their browser blocks the page with a certificate warning.

How HTTPS works

When a browser opens an HTTPS website, it does not immediately send normal web traffic. It first performs a TLS handshake. During that handshake, the server presents a certificate, the browser validates it, and both sides agree on secure session keys.

1

The browser connects

The visitor enters a URL such as https://example.com, DNS resolves the hostname, and the browser connects to the server on port 443.

2

The server presents a certificate

The server sends its certificate and usually one or more intermediate certificates that form a chain to a trusted root.

3

The browser validates the certificate

The browser checks the hostname, validity period, signature chain, key usage, certificate authority, revocation status where applicable, and protocol settings.

4

A secure session is established

If validation succeeds, the browser and server establish encrypted communication and normal HTTP traffic continues securely.

SSL/TLS monitoring with Spark Uptime

Spark Uptime includes SSL/TLS certificate monitoring and SSL/TLS notifications with every plan. This helps website owners avoid preventable certificate outages by detecting problems before customers do.

Expiration monitoringDetect certificates approaching expiration and receive notifications before they become an incident.
Expired certificatesIdentify certificates that are already outside their valid date range.
Hostname mismatchDetect certificates that do not cover the hostname being monitored.
Chain problemsIdentify incomplete, invalid, or untrusted certificate chains that may fail in browsers or API clients.
Self-signed certificatesDetect certificates that are not trusted by normal public browsers.
Certificate validation failuresSurface issues that can cause HTTPS checks to fail even when the origin server responds.
Best practice Monitor the exact hostname visitors use, including www, apex domains, application subdomains, API hostnames, and status page hostnames. A valid certificate on one hostname does not guarantee every related hostname is covered.

Common certificate types

TypePurpose
Single-name certificateCovers one hostname, such as www.example.com.
SAN certificateCovers multiple names using Subject Alternative Names, such as example.com and www.example.com.
Wildcard certificateCovers one wildcard level, such as *.example.com. It does not automatically cover every deeper subdomain.
Domain Validation certificateValidates control of the domain. This is common for automated certificates.
Organization Validation certificateIncludes additional organization validation by the certificate authority.
Extended Validation certificateIncludes a stricter validation process, though modern browsers no longer display EV indicators as prominently as older browsers did.

Domain validation methods

Before issuing a certificate, a certificate authority must validate that the requester controls the domain. Automated systems usually complete this through HTTP, DNS, or TLS-based validation.

MethodHow it worksCommon issue
HTTP validationThe certificate authority requests a special file or token from the website over HTTP.Fails if the domain does not point to the server, redirects incorrectly, blocks validation, or uses a CDN/proxy that does not pass the challenge.
DNS validationThe domain owner publishes a specific DNS TXT record.Fails when the TXT record is missing, published in the wrong DNS zone, or cached incorrectly.
TLS-based validationThe server presents a special validation certificate during the ACME challenge process.Fails if port 443 is blocked, routed elsewhere, or served by the wrong system.

AutoSSL and free certificates

Many hosting platforms offer free SSL/TLS certificates through automated systems such as Let’s Encrypt, Sectigo AutoSSL, cPanel AutoSSL, or a provider-managed certificate service. These systems are helpful because they can issue and renew certificates without manually purchasing a certificate each year.

Free automated certificates are commonly valid for 90 days or less. That shorter lifetime is normal, but it means renewals must work reliably. If renewal automation fails, a certificate can expire quickly and create a visible outage.

Important AutoSSL requirement Many AutoSSL and HTTP-validation systems require the domain’s A record to point directly to the hosting server that is requesting the certificate. If the domain points to a different server, a CDN, a parked page, an old provider, or a proxy that does not pass validation correctly, certificate issuance or renewal may fail.

Common AutoSSL failure causes

  • The A record points to the wrong server.
  • The domain uses an external CDN or proxy that blocks validation.
  • The hostname redirects to another domain before validation completes.
  • The website blocks certificate authority validation traffic.
  • The domain has IPv6 AAAA records pointing somewhere different from IPv4.
  • The DNS zone is hosted at a different provider than expected.
  • The server has the wrong virtual host or document root for the hostname.

Certificate lifetime changes

Public TLS certificate validity periods have been getting shorter over time. Shorter lifetimes reduce the amount of time a compromised, mistakenly issued, or stale certificate can remain trusted. They also push website owners and hosting providers toward automation instead of manual annual renewals.

The CA/Browser Forum approved Ballot SC-081v3, which introduces a phased schedule reducing maximum public TLS certificate validity and domain validation reuse periods. Under that schedule, certificate validity moves to 200 days in 2026, 100 days in 2027, and 47 days in 2029. The official ballot and related Server Certificate Working Group materials are available from the CA/Browser Forum.

Effective periodMaximum public TLS certificate validityOperational impact
Current recent baselineUp to 398 daysAnnual renewal patterns were common, but monitoring was still important.
March 2026200 daysRenewal workload increases and manual processes become riskier.
March 2027100 daysQuarterly-style renewal cycles become the maximum.
March 202947 daysMonthly automation and certificate monitoring become operationally necessary.

Let’s Encrypt has also discussed moving toward shorter certificate lifetimes and has published guidance explaining why shorter lifetimes improve the security model and encourage automation. See Let’s Encrypt’s article From 90 to 45 for their discussion of shorter certificate lifetimes.

What website owners should do now Treat certificate renewal as an automated operational process, not an annual calendar reminder. Use automated renewal where possible, monitor expiration externally, and verify that DNS, HTTP validation, and certificate chains remain healthy after every infrastructure change.

Generating a CSR

A CSR, or Certificate Signing Request, is a file generated from a private key that asks a certificate authority to issue a certificate for specific names. Many modern AutoSSL and ACME systems generate CSRs automatically. Manual certificates may still require generating one yourself.

openssl req -new -newkey rsa:2048 -nodes \
  -keyout example.com.key \
  -out example.com.csr

For modern deployments, many administrators prefer ECDSA keys or automated ACME clients, but RSA 2048 remains widely supported. The private key file must be protected carefully. Anyone with the private key can impersonate the site if they also obtain or control a valid certificate.

CSR fields commonly requested

FieldMeaning
Common NameThe primary hostname. Modern certificates rely on SAN entries, but many CSR tools still request a Common Name.
Subject Alternative NamesThe list of hostnames the certificate should cover, such as example.com and www.example.com.
OrganizationThe legal organization name for OV or EV certificates.
Country, state, localityAdministrative identity information, mainly relevant for organization-validated certificates.

Certificate chains

A browser usually does not trust a website certificate by itself. It trusts a chain that leads from the server certificate through one or more intermediate certificates to a trusted root certificate. If the server fails to provide the correct intermediate certificate, some clients may reject the site even though the leaf certificate appears valid.

Server certificate
  → Intermediate certificate
    → Root certificate trusted by browser or operating system

Common chain problems

  • Missing intermediate certificate.
  • Wrong intermediate certificate installed.
  • Expired intermediate certificate.
  • Certificate served for the wrong hostname.
  • Server sends certificates in the wrong order.
  • Old clients do not trust the root or intermediate path being used.

TLS versions and protocol configuration

A certificate proves identity and enables secure negotiation, but TLS protocol settings determine how the secure connection is negotiated. Old TLS versions should be disabled, and modern websites should support TLS 1.2 and TLS 1.3 unless there is a specific compatibility requirement.

ProtocolStatus
SSL 2.0Obsolete and insecure.
SSL 3.0Obsolete and insecure.
TLS 1.0Deprecated for modern public websites.
TLS 1.1Deprecated for modern public websites.
TLS 1.2Still widely supported and appropriate for broad compatibility.
TLS 1.3Recommended where supported. Faster and more modern than earlier versions.

SSL/TLS troubleshooting checklist

1. Check the certificate dates

Confirm the certificate is currently valid and not close to expiration.

echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null | openssl x509 -noout -dates

2. Check the hostname

Confirm the certificate includes the exact hostname being used by customers.

echo | openssl s_client -servername www.example.com -connect www.example.com:443 2>/dev/null | openssl x509 -noout -subject -issuer -ext subjectAltName

3. Check the certificate chain

Verify the server sends a complete and trusted chain.

openssl s_client -connect www.example.com:443 -servername www.example.com -showcerts

4. Compare IPv4 and IPv6

If a hostname publishes both A and AAAA records, test both paths. IPv4 may serve the correct certificate while IPv6 serves an old or mismatched certificate.

5. Confirm DNS points to the expected server

Certificate problems often begin with DNS. A hostname may resolve to the wrong server, old provider, staging environment, or CDN endpoint.

Common SSL/TLS errors

ErrorLikely causeWhat to check
Certificate expiredRenewal failed or certificate was not replaced.Expiration date, AutoSSL logs, ACME client logs, renewal cron jobs.
Hostname mismatchThe certificate does not include the requested hostname.SAN names, server block, CDN certificate, www vs apex.
Untrusted issuerThe certificate was issued by an untrusted CA or is self-signed.Issuer, trust chain, certificate authority, private/internal certificates.
Incomplete chainIntermediate certificate is missing or wrong.Full chain file, web server SSL configuration, CA bundle.
Wrong certificate servedSNI, virtual host, CDN, or load balancer configuration is wrong.Server Name Indication, default vhost, listener configuration.
AutoSSL renewal failedDomain validation could not complete.A record, HTTP challenge path, DNS provider, redirects, firewall, proxy/CDN behavior.

SSL/TLS best practices

  • Use HTTPS for every public website and application hostname.
  • Enable TLS 1.2 and TLS 1.3; disable obsolete SSL and legacy TLS versions.
  • Monitor certificate expiration from outside your infrastructure.
  • Use automated renewal when possible.
  • Confirm AutoSSL domains point to the server responsible for validation.
  • Check both A and AAAA records when troubleshooting certificate warnings.
  • Install the full certificate chain, not only the leaf certificate.
  • Protect private keys and never send them in tickets, chats, or email.
  • Use SAN certificates to cover all required hostnames.
  • Document where each production certificate is issued, installed, renewed, and monitored.

RFC and standards references

These external references are useful for deeper technical reading on TLS, certificates, ACME automation, HTTPS, and certificate identity validation.

ReferenceWhy it matters
RFC 8446Defines TLS 1.3, the current modern TLS protocol version.
RFC 5246Defines TLS 1.2, still widely deployed across the web.
RFC 2818Defines HTTP over TLS, commonly known as HTTPS.
RFC 5280Defines the X.509 public key infrastructure certificate and CRL profile.
RFC 6125Explains service identity validation, including hostname verification concepts.
RFC 8555Defines ACME, the protocol used by automated certificate systems such as Let’s Encrypt.
RFC 6066Defines TLS extensions including Server Name Indication, which allows multiple HTTPS hostnames on one IP address.
CA/Browser Forum Baseline RequirementsDefines industry requirements for publicly trusted TLS server certificates.
Operational takeaway SSL/TLS certificates are not a one-time setup item. They are renewable production assets. Keep DNS accurate, automate renewals, monitor expiration externally, validate certificate chains, and treat certificate warnings as reliability incidents.