Check a site's SSL certificate chain for a missing intermediate, wrong order, expiry or name mismatch, with the OpenSSL commands to fetch it.
Initializing in your browser…
Decode any SSL/TLS certificate in your browser: issuer, dates, host names and extensions in plain words, with host checks and chain verification.
Generate a certificate signing request and private key in your browser, with SANs and RSA or ECDSA keys, checked before you send it to a CA.
Create a self-signed SSL certificate for local development: host names and IPs that browsers accept, key and .p12 downloads, and server settings.
Your shop loads fine in Chrome on your laptop, but a customer says the mobile app cannot connect. You save the chain the server sends and paste it in.
chain.pem, saved with the first command on the page
openssl s_client -connect shop.example.com:443 -servername shop.example.com -showcerts \ </dev/null 2>/dev/null | sed -n '/BEGIN CERTIFICATE/,/END CERTIFICATE/p' > chain.pem $ grep -c "BEGIN CERTIFICATE" chain.pem 1
The report
A client cannot build a path from this 1. CN = shop.example.com Server certificate Issued by C = US, O = Example Trust, CN = Example Issuing CA RSA 2048 bits SHA-256 with RSA issuer not in this file [error] Only the leaf certificate is here Nothing above CN = shop.example.com in this file is a CA that signed it, so a client holding only root certificates cannot build a path. [ok] Covers shop.example.com Exact match. After adding the intermediate to the server's certificate file: A client can build a path from this 1. CN = shop.example.com Server certificate signature verified here 2. C = US, O = Example Trust, CN = Example Issuing CA Intermediate CA [note] The chain ends at an intermediate [ok] 1 link verified [ok] Covers shop.example.com
One certificate where there should be two. The server certificate is in date and covers the name, so every check that looks at it alone passes; what is missing is the intermediate that links it to a root. Desktop Chrome often fetches that intermediate on its own, which is why the site worked on the laptop, while the app, like curl, Java and Node.js, refuses the connection. Appending the intermediate to the certificate file fixes it, and the second report confirms the path and the verified signature.
Check whether a server sends its SSL/TLS certificate chain correctly: complete, in the right order, in date and covering the right name. Get the OpenSSL commands that save a site's chain, paste the result in, and every link is verified in your browser. A quick test also shows whether your own browser can connect to the site.
The usual fault is a missing intermediate. Public certificates are not signed by a root directly but by an intermediate, and the server has to send that intermediate along with its own certificate. When it does not, desktop Chrome often hides the problem by fetching the intermediate itself, while Android apps, curl, Java and server-to-server calls refuse to connect. So a site can look fine in your browser and still fail for a customer or an API client.
What a browser page can and cannot see. Browsers never show a web page another site's certificate, so no online page can read it for you without a server of its own. This tool works with that limit instead of hiding it. It builds the OpenSSL commands that save the chain a server sends, then reads the chain you paste in, entirely in your browser. A separate quick test tells you whether your browser can complete a connection, which reflects your own machine's trust store rather than the certificate.
What the report checks. It finds the server certificate, works out the path up to the root, and verifies each signature with the next certificate's key. It reports a missing intermediate, a chain in the wrong order, certificates that are not on the path, an included root (allowed but unnecessary), expired or not-yet-valid certificates, CA limits that are broken, and whether the certificate covers the host name you entered. It also tells you when the chain stops working, which is the earliest expiry anywhere in it, not always the server certificate's.
The commands. Each one is written to finish on its own: openssl s_client otherwise waits for input after the handshake. They save the whole chain, print the server certificate, its dates and its names, check trust against your system, and test whether it expires within 30 days, which suits a monitoring job. IPv6 addresses and ports are handled.
Save the chain with the first command and paste it in. If only the server certificate is there, the intermediate is missing; add it to the server's certificate file.
Paste the current chain to see which certificate expires first; an intermediate can run out before the server certificate does.
Re-run the command and paste the new chain to confirm the order is right and the name is covered before you announce the change.
Browsers do not give web pages access to the TLS handshake, so a page cannot read another site's certificate. Online checkers that do it run the check on their own servers. This tool gives you the command to fetch the chain yourself and then analyses it locally.
That your browser completed an HTTPS connection, so it accepted the certificate. That reflects your own trust store: a company proxy or a certificate you accepted earlier would look the same. It does not prove the chain is right for other clients.
It may, but it does not need to. Clients already hold the roots they trust, so sending the root only adds bytes to every handshake. The intermediates are the part that must be sent.
Usually a missing intermediate. Desktop Chrome can fetch it on its own; most other clients, including Android, curl, Java and Node.js, cannot, and refuse the connection.
No. The chain is read and verified in your browser. Only the connection test makes a request, to the site you entered.
The server certificate first, then the intermediate that signed it, then the next one up, if any. The root, when included, comes last.
The reachability check sends three HTTPS HEAD requests from your browser directly to the domain you type, so that site sees the requests (and your IP). Nothing is sent to any other server, and any certificate you paste in is read entirely in your browser and never leaves it.