How to Check a Website’s SSL Certificate: Validity Period, Trust Chain, and TLS Settings
A step-by-step guide for website owners: checking SSL in a browser, with OpenSSL and curl; diagnosing HTTPS errors; checking certificates across multiple servers; and automatic renewal.
1. Why Check an SSL Certificate If the Website Already Loads
A website that looks fine does not always have properly configured security. The home page may load over HTTPS, while the payment section displays a warning. The certificate may be renewed on one server but expired on another. The version of the site without www may work, while the www address shows a different name. The cause often becomes clear only after checking the certificate and the entire connection chain.
A thorough SSL check addresses several separate questions: whether a TLS connection can be established, whether the certificate matches the domain name, whether it has expired, whether the browser trusts its issuer, which protocols the server supports, and whether the site correctly redirects HTTP requests to HTTPS. The presence of https:// in the address bar alone is not enough to judge security.
For a small blog, checking takes a few minutes. An online store with a CDN, load balancer, multiple servers, and subdomains needs regular monitoring: individual nodes can serve different certificates. It is especially important to repeat the check after moving hosting, changing DNS, installing a proxy, updating WordPress, or automatically renewing a certificate.

2. What to Check: Seven Essential Parameters
For a beginner website owner, it is easier to use a simple checklist. Each item answers a separate question and helps find problems faster. None replaces the others: for example, a valid certificate may match the domain, but the server may still accept outdated connection settings.
Commercial websites require special attention. Check not only the home page, but also the catalog, shopping cart, checkout, and account area. TLS applies to the connection with the domain, but a web application can load external scripts and resources that have their own security requirements.
3. How to Check SSL in Chrome, Firefox, Edge, and Safari
The quickest method starts with the browser. Open the full address, including https:// and, if needed, www. Then open the certificate information using the site information icon or connection settings. The menu locations vary between Chrome, Edge, Firefox, and Safari and change from version to version, so there is no universal sequence of identical buttons.
The certificate information window usually shows the domain name holder, certificate authority, validity dates, and the list of names covered by the certificate. It is useful to open the information for the final page after all redirects. When checking a store, compare the main domain with the address used to open the cart: a third-party payment service may use its own secure connection.
What the Certificate Fields Mean
Subject — certificate subject information. Issuer — who signed it. Not Before and Not After — the start and end of the validity period. Subject Alternative Name (SAN) — a list of permitted DNS names or IP addresses. Modern name-matching checks use SAN; the Common Name field alone should not be considered sufficient confirmation.
Do not rely on the green padlock image shown in older guides. Modern browsers have changed how they indicate a secure connection. In addition, HTTPS confirms that the connection is protected and helps verify the domain, but it does not by itself guarantee that a seller is honest, that there are no viruses, or that the website’s code is secure.
4. How to Find Out When a Certificate Expires
Every public certificate has a validity period during which it can be used. Before the Not Before date, the certificate is not yet valid; after Not After, it is no longer valid. Check not only the calendar date, but also the time: a certificate is not necessarily valid until midnight in the administrator’s local time zone.
Both dates are usually available in the browser’s certificate viewer. In Linux, macOS, and other systems with OpenSSL, you can retrieve them from the certificate presented by the server. The example uses the hypothetical public domain example.com: the command does not change the server or its configuration.
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -datesThe output contains the lines notBefore=... and notAfter=.... Important limitation: this command shows the dates of the first certificate received from the specified server. It does not prove that the chain is trusted or that the name matches. Additional parameters shown below are needed for those checks.
If the certificate has already been saved in a PEM file on the server, you can check its dates without connecting to the network. This is useful for comparing files on disk with the certificate actually installed. This comparison helps reveal when automation has updated the file but the web server is still serving an older copy.
openssl x509 -in /etc/ssl/certs/site.pem -noout -datesManaged hosting may store certificates in other directories or may not provide direct access to the files at all. In that case, use the hosting control panel and an external HTTPS check.
5. Why SAN, SNI, and the Correct Domain Name Matter
A certificate does not automatically cover every address on the same server. If SAN lists example.com, that does not mean it also covers www.example.com, blog.example.com, or an arbitrary service name. Check each name actually in use separately unless it is covered by a valid Wildcard pattern.
SNI (Server Name Indication) allows a client to tell the server the desired domain name at the start of a TLS connection. Dozens of websites can be hosted on one IP address, and without the correct SNI the server may present a certificate belonging to a neighboring project. That is why manual OpenSSL diagnostics almost always require the parameter -servername, and name verification requires -verify_hostname.
openssl s_client -connect example.com:443 -servername example.com -verify_hostname example.com -verify_return_error </dev/nullA successful check usually includes the message Verify return code: 0 (ok). Read the entire output carefully: the diagnostic utility may continue running when errors occur, and the cause may be related to the CA trust store on a particular computer. The parameter -verify_return_error helps terminate the connection if verification fails.
For a Wildcard certificate of the form *.example.com, valid examples include shop.example.com and api.example.com, but not the two-level name dev.api.example.com. The bare example.com must also be added separately if it is used. More examples are provided in the Wildcard SSL guide.
6. Chain of Trust: Root, Intermediate, and Server Certificates
A website’s TLS certificate is usually signed not directly by a root certificate authority, but by an intermediate one. The browser builds a chain: website certificate → intermediate certificate → trusted root authority. The root certificate is usually stored in the system or browser, while the server sends its own certificate and the necessary intermediates. If an intermediate link is missing, one browser may sometimes reconstruct the chain while another displays an error.
For diagnostics, use OpenSSL output with the parameter -showcerts. It shows the certificates sent by the server, but this alone does not mean that the chain is correct and trusted. This important distinction is often overlooked in short tips found online.
openssl s_client -connect example.com:443 -servername example.com -showcerts -verify_return_error </dev/nullIf the server uses Nginx or Apache, a full-chain file is often required. It contains the server certificate and the necessary intermediate certificates. You cannot simply concatenate arbitrary PEM files: a bundle might contain an old intermediate certificate that does not belong to the new issuance.

Why browsers show different results
Possible causes include different trusted root stores, certificate validation policies, intermediate certificate availability, and corporate proxy settings. Therefore, an issue that occurs only on an old smartphone does not necessarily mean the certificate is damaged. First identify the OS and browser versions, then compare the chain and trusted roots.
7. Checking HTTPS with OpenSSL: a ready-to-use sequence of commands
OpenSSL is useful because it shows the server's actual TLS response, not just the web control panel settings. It is convenient to run the commands from a separate computer that is not on the same local network. This gives a better picture of the connection an ordinary visitor would get. It is still a check from a single network location: a CDN, IPv6, or a load balancer can return a different result.
openssl version
openssl s_client -connect example.com:443 -servername example.com -brief </dev/null
openssl s_client -connect example.com:443 -servername example.com -verify_hostname example.com -verify_return_error </dev/nullThe first command shows the utility version. The second displays brief details about the established connection, including the negotiated protocol version and cipher. The third also checks the certificate and domain name. The output and available options depend on the OpenSSL version, so, if necessary, use the instructions for the installed release.
How to find the issuer and SAN
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -subject -issuer -dates -ext subjectAltNameThe output shows the subject, issuer, validity period, and SAN list. If the certificate contains many names, the list may be long. Do not edit the names manually in the browser: if they are missing, you need a new certificate with the correct set of addresses.
8. The curl command: certificate, redirects, and HTTP response
Unlike viewing the certificate, curl also helps you see the web server's response. The command curl -I requests the headers; -v prints diagnostic information about the TLS connection. This is a simple way to find out whether the site responds, whether HTTPS is configured correctly, and which URL is involved in a redirect.
curl -Iv --max-time 15 https://example.com/Look for certificate verification messages and the HTTP status in the output. A 200 response means the HTTP request succeeded, while 301 or 308 indicates a permanent redirect. A 404 is not necessarily related to the certificate: the TLS connection may succeed even though the page at the requested address does not exist. TLS errors and web application errors must not be conflated.
curl -I --max-time 15 http://example.com/
curl -IL --max-time 15 http://example.com/A working configuration usually has a clear redirect from HTTP to the canonical HTTPS address, without loops or unnecessary intermediate pages. Keep in mind: -L allows curl to follow redirects, and the number of redirects and destination address should be checked separately. The recommendation to use -k or --insecure to fix errors is harmful: these options disable trust verification and hide the problem itself.
To compare behavior for a specific IP address, you can use curl --resolve example.com:443:203.0.113.10 https://example.com/, substituting a valid IP for the documentation address. This preserves the site name in TLS and allows you to check individual nodes. Use this only for addresses the administrator controls or is authorized to diagnose.
9. How to determine support for TLS 1.2, TLS 1.3, and cipher suites
A certificate can be valid while the server configuration is outdated. The TLS protocol has changed over many years: versions 1.0 and 1.1 should no longer be used for modern public websites. TLS 1.2 remains widely used for compatibility, while TLS 1.3 provides a modern mechanism for negotiating connection parameters. However, the TLS version is only one part of the assessment; algorithms, settings, and client support also matter.
openssl s_client -connect example.com:443 -servername example.com -tls1_2 -brief </dev/null
openssl s_client -connect example.com:443 -servername example.com -tls1_3 -brief </dev/nullA successful command shows that the selected version can be negotiated with this server and the installed client. An error does not always prove that the server prohibits the protocol: the local OpenSSL version or the device's cryptographic policies can also restrict the connection. Therefore, a definitive assessment uses several tools and external testing.
There is no need to enable every possible cipher just to support outdated devices. It is better to follow supported applications, Mozilla recommendations, and users' actual requirements. Some performance optimizations or additional settings apply only to particular server and proxy versions; copying someone else's configuration file without checking it can cause an outage.

10. Checking a website with SSL Labs: understanding the results
Qualys SSL Labs Server Test is a public service for detailed analysis of the TLS configuration of a web server accessible from the internet. It examines the certificate, trust chain, protocol versions, some encryption settings, and compatibility features. For a regular website, it is a useful independent check after HTTPS is configured.
Read the report beyond its final letter grade. The rating may be lowered because of chain issues, support for outdated protocols, or a poor configuration. But even a high score does not mean the site is free of WordPress vulnerabilities, unsafe plugins, authorization errors, or malicious scripts. A TLS test evaluates the connection, not the security of the entire business.
A public test makes external connections and may reveal to the service that the domain is being checked. Do not submit addresses for internal administrative systems or private infrastructure. For private servers, use local diagnostic tools and checks from an authorized network.
How to compare results correctly
Repeat the test after fixing the configuration. If the site uses a CDN, the report may reflect the CDN edge node rather than the hosting server. The security of the CDN → origin connection must be checked separately. Results may also vary between nodes when there are multiple IP addresses.
11. Why one domain shows different certificates
A public website rarely relies on just one server. DNS may return multiple A and AAAA records. A load balancer distributes traffic among nodes, while a CDN serves visitors from different regions. Therefore, a check from a home computer does not guarantee that a user on another provider or device will see the same certificate.
dig +short A example.com
dig +short AAAA example.com
dig +short CNAME www.example.comIf multiple IPs are found, identify their purpose and check each serving node. IPv6 deserves particular attention: sometimes the certificate is updated only on the IPv4 server, while visitors with IPv6 support reach a different configuration. When a site is migrated, old DNS records may continue pointing to the previous host for some time.
If a reverse proxy is used, there are two separate connections: browser → proxy and proxy → origin server. The certificate for the first connection is installed on the proxy; the second may require a separate certificate and hostname check. A good SSL Labs result for the external domain says nothing about the connection settings between these components.
The solution is not to reissue certificates en masse, but to map the actual request path: DNS, CDN, load balancer, web server, containers, and service subdomains. At each point, check what terminates TLS and which certificate it presents.
12. How to check a certificate on Beget, REG.RU, and in WordPress
On managed hosting, administrators usually work in a control panel rather than the command line. In the interface, find the domain, HTTPS, or SSL settings; make sure the certificate is active for the required name; and check its expiration date and automatic renewal status. The exact section names depend on the platform and control panel version.
On Beget, check that the site and domain match, the certificate has been issued, DNS is configured, and HTTPS redirection is in place. REG.RU works similarly in principle, but the steps depend on the product: virtual hosting, VPS, or a separate certificate service may use different installation methods. Detailed instructions are available in SSL on Beget and SSL on REG.RU.
In WordPress, compare the WordPress Address and Site Address fields with the canonical HTTPS domain. After a migration, check that styles, images, JavaScript, and admin pages load. A plugin that rewrites links to HTTPS does not fix an expired certificate at the web server level. So check TLS first, then the page content.
A separate guide is available for diagnosing mixed content: Mixed Content — Causes and Fixes. It is useful after configuring a certificate if the browser continues to block insecure resources.
13. Automatic SSL renewal and expiration monitoring
Certificates are no longer documents that can conveniently be installed once and left in place for many years. As of November 2026, CA/Browser Forum rules limit the maximum validity period of new public TLS certificates to 200 days for certificates issued on or after March 15, 2026. The maximum is set to decrease to 100 days on March 15, 2027, and to 47 days on March 15, 2029. These limits do not mean that every authority issues certificates for the full allowed period; some use much shorter intervals.
The main safeguard against expiration is not a manual calendar entry, but automatic renewal with the result checked. For servers using Certbot, the test command sudo certbot renew --dry-runlets you check the procedure without a regular production issuance. However, a successful dry run does not guarantee that the server will actually reload the new files after a future renewal; this must also be monitored.
sudo certbot certificates
sudo certbot renew --dry-runSet up notifications for approaching expiration dates, ACME failures, DNS errors, and service reload failures. It is better to monitor from outside so that you check the actual certificate visitors receive. The presence of a new file on disk does not mean that Nginx or Apache has started using it.

When designing monitoring, it is a good idea to use several alert thresholds—for example, one well in advance and another closer to expiration—as well as a separate alert for renewal failures. The specific intervals depend on the certificate's validity period, administrator availability, and site criticality. For automated platforms, reliably detecting a failure and checking again is more important than a calendar reminder.
A list of third-party monitoring services is available on the official Let’s Encrypt page. These are examples, not mandatory or unconditionally recommended providers.
14. Common certificate errors: causes and actions table
Browser messages can look alarming, but many cases come down to a few clear causes. The main thing is not to try to disable the warning, but to identify its source. Common cases and how to check them are listed below.
For ERR_CERT_DATE_INVALID, compare the certificate's validity dates with the device's current time. If the name does not match, check each domain variant separately. For an issuer error, find out which certificates the server is actually sending and which root authority the affected device uses.
If the error appears after an update, it is useful to check the browser and DNS caches, but clearing the cache does not replace correct server configuration. After fixing the issue, repeat the external test and make sure the problem is resolved in an independent browser.
15. Checking on a mobile phone: Android and iPhone
On a phone, SSL is checked in the browser just as it is on a computer, but the certificate details menu may be less comprehensive. Android uses Chrome or other browsers with their own controls. On iPhone, Safari may show only some connection information, so a desktop browser or an external test is more convenient for detailed analysis.
The fact that a page opens on a phone does not show that all networks and devices will receive the same certificate. A mobile carrier may use a different route to the CDN, and a device may use a different set of trusted root certificates. This is especially important if complaints come only from a particular country or network, or from older smartphone models.
For testing, compare access over Wi-Fi and a mobile network, record the date, address, and error message, and then check the domain with an external tool. Do not enter credit card details or passwords on a page displaying a certificate warning.
16. Practical checklist before publishing and after moving a site
Before publishing, it is useful to run through one short scenario for each important domain name. First, check the DNS records. Then open the HTTPS address and review the certificate fields. After that, test the redirect from HTTP, load pages with images and JavaScript, check for errors in the browser console, and run an independent TLS test.
- List all addresses: the main domain, www, service subdomains, and separate applications.
- Check A, AAAA, and CNAME records; note where a CDN or load balancer is used.
- Check that every node presents the expected certificate with the correct SNI.
- Compare the SAN with the names in use, and make sure the dates and trusted chain are correct.
- Check TLS 1.2/1.3 and disable unnecessary outdated protocols.
- Check redirect chains and make sure there is no mixed content.
- Check that the server reloads the certificate files after they are updated.
- Set up external monitoring and record the date of the last check.
After changing hosting providers or installing a CDN, it is useful to repeat this list from another device and over a mobile network. Most unpleasant errors do not occur when the certificate is issued, but during infrastructure changes, when some requests continue going to the old server.
Completing the checklist does not guarantee absolute security, but it helps find common failures before visitors encounter them. It is most useful when applied regularly, not just after a complaint.
17. Frequently asked questions about checking an SSL certificate
Can I check SSL for free?
Yes. A browser, OpenSSL, curl, and the public SSL Labs service provide enough information for basic diagnostics. Paid monitoring can be useful for multiple projects, complex infrastructure, and notifications, but it is not required for an initial check.
Why does the server have a new certificate, but the browser sees the old one?
A common reason is that the web server has not reloaded its configuration, the certificate has not been updated on all nodes, the CDN is using a different certificate, or DNS points to the previous IP. You need to check the certificate actually being presented, not just the local PEM file.
Can I find out when a certificate expires without access to the hosting account?
Yes. If the site is accessible over the internet, the date is in the certificate the server presents during the TLS connection. You can view it in a browser, with OpenSSL, or through a public service. You do not need the private key or the hosting account password.
Does a high SSL Labs score confirm that a site is completely secure?
No. It indicates the quality of some aspects of the TLS configuration. CMS vulnerabilities, weak passwords, business logic errors, server compromise, and fraudulent content remain separate risks.
How often should SSL be checked?
A one-time check should be performed after installation, migration, or DNS changes. For ongoing operation, it is best to enable automated monitoring of expiration dates and TLS errors. For a critical site, the check frequency is determined by availability requirements and certificate validity periods.
Is the certificate different for www and the domain without www?
These are two different domain names. They can be included in a single SAN certificate or served by different certificates. Check them separately, even if one address redirects to the other.
18. Conclusion: how to make sure HTTPS is really working
A successful SSL check is not just one green icon, but several verified facts. The site presents the correct certificate for all required addresses, the dates are within the valid period, the chain of trust is correct, the server supports modern TLS settings, the pages do not load insecure resources, and the renewal process has been tested and is monitored.
For most small sites, a browser, OpenSSL or curl, and an independent SSL Labs test are sufficient. For infrastructure with multiple servers, add checks for DNS, CDN, IPv6, and automated notifications. This approach reduces unexpected warnings and helps visitors open the site with confidence.
After basic diagnostics, practical next steps include guides to issuing Let’s Encrypt certificates, to configuring WordPress and to fixing Mixed Content. Each of these tasks addresses one part of the overall HTTPS issue.
19. Official sources and date of review
Updated November 5, 2026. Official sources were used to verify commands and technical requirements. The settings for a particular hosting provider, OpenSSL version, and browser may differ from the examples provided.
- OpenSSL — s_client documentation (checking a remote TLS server, SNI, verification).
- OpenSSL — x509 documentation (certificate dates and fields, -checkend).
- curl — official documentation (TLS, headers, redirects).
- MDN — Transport Layer Security (TLS principles and current recommendations).
- CA/Browser Forum — Baseline Requirements (maximum validity periods for publicly trusted certificates).
- Qualys SSL Labs — Server Test (public TLS configuration diagnostics).
- Let’s Encrypt — monitoring options (monitoring options).