How to Check a Website’s TLS Certificate Before Deployment or Renewal
TLSSSL certificatesweb securityOpenSSLdeployment checklist

How to Check a Website’s TLS Certificate Before Deployment or Renewal

AAnyConnect Editorial Team
2026-12-03
7 min read

Use this practical TLS certificate checklist to verify expiry, hostnames, chains, protocols and cipher support before deployment or renewal.

A valid HTTPS padlock does not always mean a website is correctly configured. This reusable TLS certificate checklist shows how to check expiry, hostnames, certificate chains, key types, protocol versions, cipher support and revocation before a deployment, renewal, migration or incident review.

Overview

TLS certificates authenticate a website and help establish an encrypted connection between a client and a server. “SSL certificate” is still common terminology, but modern web connections use TLS. Checking the certificate therefore means checking more than whether a browser displays a padlock: you need to confirm that the certificate is trusted, matches the requested hostname, is within its validity period and is presented with a sound TLS configuration.

The most useful approach is to combine a browser inspection with a command-line check. A browser shows what a typical visitor experiences, while tools such as OpenSSL expose the certificate chain, negotiated protocol and cipher details. Test the public hostname from outside your internal network, and, where relevant, test every domain, subdomain, load balancer and reverse-proxy path that serves the application.

CheckWhat to confirmWhy it matters
HostnameThe requested domain appears in the certificate's subject or Subject Alternative Name (SAN).Prevents hostname mismatch warnings and failed connections.
ValidityThe current date falls between the certificate's not-before and not-after dates.Expired or not-yet-valid certificates are rejected by clients.
ChainThe server sends the required intermediate certificates and the chain leads to a trusted root.Some clients cannot build trust when intermediates are missing.
Key and signatureThe certificate uses an accepted key type, size and signature algorithm.Legacy or weak choices can reduce compatibility and security.
TLS protocolModern TLS versions are enabled and obsolete versions are disabled where compatibility permits.Protocol negotiation affects security and client support.
CipherThe connection negotiates an appropriate cipher suite rather than a legacy option.Confirms that encryption is being used as intended.
RevocationRevocation behaviour is understood and there is no known reason to distrust the certificate.A revoked certificate may indicate key compromise or another serious issue.

Checklist by scenario

Before a new deployment

  1. List every public hostname, including the main domain, www variant, API endpoints, assets, admin interfaces and regional names. Do not assume that one certificate covers every name.
  2. Confirm that the certificate's SAN entries contain the exact hostnames clients will request. A wildcard has a defined scope; it does not automatically cover an unrelated domain or a deeper hostname level.
  3. Install the server certificate and the required intermediate certificates. The private key must remain on the system that terminates TLS and should be protected with appropriate file permissions and secrets-management controls.
  4. Test the production-like endpoint through the same CDN, load balancer or reverse proxy used in production. A correct certificate on an origin server does not fix a different or expired certificate presented at the edge.
  5. Check that HTTP redirects to HTTPS as intended, while avoiding redirect loops between the application and proxy.

Before certificate renewal

  1. Record the current certificate's expiry date, issuer, SAN list, key type and deployment locations.
  2. Confirm who controls DNS, the hosting panel, certificate automation and the TLS termination points. Renewal failures often result from an overlooked validation record or an unmaintained service.
  3. Renew early enough to allow validation, installation and rollback testing. The appropriate lead time depends on the certificate process and operational risk.
  4. After installation, test both the primary hostname and less frequently used names. Check old and new infrastructure if traffic is being migrated gradually.
  5. Remove obsolete certificates and private keys according to your organisation's retention and incident-response procedures.

After a domain migration or proxy change

  1. Resolve the domain from more than one network or testing location where practical, because DNS caching and split-horizon DNS can expose different endpoints.
  2. Inspect the certificate returned by IPv4 and IPv6 if both are enabled. An old server can remain reachable over one address family.
  3. Check SNI behaviour by testing the real hostname, not only the server IP address. Shared hosting and load balancers may return a default certificate for an unknown name.
  4. Repeat the check at the CDN, web server and application gateway layers if TLS is terminated more than once.

How to verify a certificate

Using a browser

Open the site in a current browser and inspect the connection or security information beside the address bar. Review the certificate details rather than relying only on the padlock. Look for the subject alternative names, issuer, validity dates and certificate chain. Browser interfaces differ, so the exact menu names may change.

Also check the browser console and network panel for mixed-content warnings, failed subresource requests and redirects to unexpected hostnames. A page can have a valid certificate while loading scripts, images or API calls over insecure HTTP or from a hostname with a separate certificate problem.

Using OpenSSL

OpenSSL can display the certificate presented by a server and the negotiated TLS session. A basic check is:

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

The -servername option sends the hostname through Server Name Indication, which is important when several sites share an address. Review the output for the subject alternative names, issuer, dates, protocol and cipher. The verification result is useful, but interpret it in context: the trust store on the machine running the command may differ from the trust stores used by browsers, operating systems or managed devices.

To view a saved certificate in readable form, use:

openssl x509 -in certificate.pem -noout -text

For a quick expiry check on a live endpoint, you can use:

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

These commands are diagnostic examples, not a replacement for an authenticated deployment process. Avoid pasting private keys into online certificate checkers or chat tools.

What to double-check

  • Certificate chain: The server normally needs to send the leaf certificate and relevant intermediate certificates. Root certificates are generally supplied by the client trust store. A chain that works on one device can fail on another if it relies on an unusual or outdated local trust store.
  • Key type and signature: Confirm that the key type and signature algorithm meet your compatibility and security requirements. Do not change them casually during renewal without testing older supported clients.
  • Protocol versions: Verify which TLS versions are enabled at every termination point. A strong certificate cannot compensate for an unsafe protocol configuration.
  • Cipher support: Record the cipher negotiated by representative clients and check that the server is not falling back to legacy suites. Configuration should balance modern security with the actual clients your service must support.
  • Revocation handling: Check the certificate's revocation information and understand how your clients perform revocation checks. A “not revoked” result from one tool is not an absolute guarantee for every client environment.
  • Monitoring: Add expiry monitoring for every public certificate and route alerts to a team that can act. Monitoring should identify the hostname and endpoint, not just report that a certificate somewhere is approaching expiry.

Common mistakes

Checking only the homepage: APIs, mail portals, staging aliases and forgotten subdomains can use separate certificates. Build the inventory from DNS, application configuration and traffic records.

Testing the origin instead of the public service: Users connect to the CDN, proxy or load balancer when one is present. Always inspect the endpoint that clients actually reach.

Forgetting SNI: An IP-only test may return a default certificate. Include the hostname in browser and OpenSSL tests.

Installing only the leaf certificate: Some clients may fail when intermediates are absent, even though another device appears to work.

Treating the padlock as a full security review: The padlock does not prove that application authentication, authorisation, headers, dependencies or server hardening are correct.

Exposing private material: Certificates are public, but private keys are not. Share certificate files only when necessary, and never publish keys in troubleshooting tickets, repositories or online tools.

When to revisit

Use this checklist before every certificate renewal, production deployment, domain or DNS migration, CDN change, reverse-proxy replacement and major TLS configuration change. Recheck after an outage, browser warning, unexpected certificate alert or suspected key compromise.

Review the process during seasonal planning or other regular operational cycles, especially when ownership, hosting panels, certificate automation or supported client versions have changed. TLS recommendations, browser trust behaviour and hosting interfaces can evolve, so confirm current requirements before making a broad configuration change.

For a practical final pass, save the hostname inventory, certificate details, test date, commands used and responsible owner in the deployment record. Confirm the public endpoint from an external network, verify the chain and SAN list, test representative clients, check monitoring and document any accepted compatibility exception. This turns a one-off certificate inspection into a repeatable control that can be used at the next renewal or incident review.

Related Topics

#TLS#SSL certificates#web security#OpenSSL#deployment checklist
A

AnyConnect Editorial Team

Cybersecurity Editors

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.