Keys & Certificates

TLS Checker

Check the certificate a live server presents: trusted chain, host-name match, expiry, protocol and key exchange, and whether any key in the chain is compromised or weak (including the October 2026 eMudhra CA keys). Browsers cannot inspect another site's certificate, so this tool runs on the server and needs API credentials.

Author

Built by bc.

This tool was made by Brandon Caruana (bc.), who runs this site, because his own agents needed it.

The author is the only person ever named. Tools built from someone else's request say only "Requested by a person" or "Requested by an agent", with the request's title and date: never who asked. Request a tool

Try it

Credentials
Remember these credentials

Not saved: you will paste them again next time.

No credentials yet? Get a client ID and secret. They are sent only to this site, in an Authorization: Basic header.

POST /api/tls/check with a JSON body

Keyboard shortcuts

Esc
Close a menu or overlay, then leave full screen
↓ on a menu
Open it; ↑ ↓ move through its items
← → in the menu bar
Move between menus

Where your data goes

Using this pageUsing the API, MCP or A2A
Where it runsThis tool cannot run in a browser (web pages are not allowed to inspect another site's TLS certificate). The page sends your request to this site's API, with the credentials you enter.In a Cloudflare Pages Function at the Cloudflare data centre nearest the caller.
What leaves your deviceWhat you submit (and your credentials) goes to this site's API when you press the button, and nowhere else: the page's Content-Security-Policy allowsconnect-src 'self' only.

The server receives the host name and port, and forwards them to the TLS checker operated by this service, which connects to that host. Nothing else is sent, and nothing is stored or logged apart from the per-call metadata row. The target host sees a TLS connection from the checker's network, not from you.

StoredAs for the API (right).Your inputs and results: never. What is stored is your client record (client ID, a SHA-256 hash of your secret, expiry, and the profile you registered with) and one metadata row per call: operation, time, transport, status, error code, duration, request and response sizes, and country.
LoggedAs for the API (right).Only the per-call metadata above, attributed to your client ID. Never parameters, bodies, results, or credentials. Cloudflare, as the host, also processes request metadata (IP address, full URL including the query string, headers) under its own policies, so put inputs in POST bodies.
AccessRequires a client ID and secret.Requires a client ID and secret (how to get one). HTTPS only; TLS terminates at Cloudflare.

Details and how to verify this yourself: Security & privacy.

User guide

The tool sits in a window that works like a desktop app: menus on the top row and the full-screen icon at its right (Esc leaves full screen). Help → Keyboard shortcuts… lists the keys.

  1. Enter your client ID and secret (get them on the credentials page). Optionally choose to remember them: This tab or This device (until you click Forget).
  2. Enter the host (for example example.com) and, if needed, a port. Leave servername empty unless you are connecting to an IP address and need a specific name checked.
  3. Press Send request and read the result:
    • trusted: true: the chain leads to a root in the Mozilla trust store, and the certificate covers the host name.
    • verification.errors: why it isn’t trusted, by chain position (depth 0 is the server’s own certificate). Common codes:
      • 10: expired.
      • 18: self-signed.
      • 19: self-signed certificate in the chain, meaning an untrusted root.
      • 20: issuer not found, usually a missing intermediate.
      • 62: host name mismatch.
    • certificates: each certificate decoded, as in the Certificate Decoder. notes points out ordering gaps and expiry.
    • protocol, cipher, key_exchange_group: what the connection negotiated. X25519MLKEM768 means a post-quantum hybrid key exchange.

From code: POST /api/tls/check with {"host": "example.com"}, the MCP tool tls_check, or the A2A skill tls_check. See the reference.

Compromised and weak keys. Every chain the server presents you check is compared with the keys exposed in the October 2026 eMudhra (emSign) CA compromise: all eight intermediate CA keys, whose private keys are public, and the emSign ECC Root CA - G3 that browsers and operating systems removed. A certificate signed by one of those keys is flagged too, after its signature is verified with that key, and the result is reported as not trusted even when OpenSSL accepted the chain: its root store can lag a distrust, and the eMudhra intermediates were also reachable through a cross-signed root. NIST-curve EC keys (P-256, P-384, P-521) are also searched for a tiny private value, the mistake behind that incident, so a key with that weakness is caught even if it is on no list. This page tries every private value below 2^32 and its negation, in the background after the first result; the API tries 1 to 256. A Do not trust banner means anyone could have produced that key or signature.

Specification

How the check runs.

  1. The API passes the host and port to this service’s private TLS checker, which runs OpenSSL 3.
  2. The checker resolves the host once and connects to that exact address, so it cannot be redirected by DNS changes mid-check (DNS rebinding).
  3. It runs openssl s_client -showcerts with SNI, the Mozilla CA bundle as the trust store, and -verify_hostname for RFC 6125 host-name verification.
  4. The handshake is allowed to complete, so OpenSSL reports its final verdict and every individual verify error.

What is refused.

  • Non-public addresses: private, loopback, link-local, CGNAT (100.64/10), documentation, multicast and reserved ranges, for IPv4 and IPv6 (including IPv4-mapped and NAT64 forms). This applies to the address given and to the address the name resolves to.
  • Ports other than 443, 8443, 465, 636, 853, 993, 995 and 5061. These speak TLS directly; STARTTLS ports such as 25 and 587 are not supported.
  • Malformed host names. The connection target is never passed through a shell.

Limits.

  • Timing: 10 seconds per connection, and at most 8 concurrent checks on the checker.
  • Rate limits: the normal API limits apply.

Not checked. Revocation (OCSP, CRL), Certificate Transparency compliance, cipher-suite policy, and protocol downgrade behaviour.

What the target sees. A TLS connection from the checker’s network, not from you. The checker sends nothing except a standard TLS ClientHello and closes the connection after the handshake.

Key trust checks. Each key, and each certificate’s signer, is checked for:

CodeSeverityMeaning
compromised-keycriticalThe key is one of the eight eMudhra intermediate CA keys (matched by EC point, so any certificate or format carrying it is caught).
signed-by-compromised-keycriticalThe certificate’s signature verifies with one of those keys.
weak-private-keycriticalThe EC private value was recovered from the public key: below 2^32 on this page, 1 to 256 on the API, or the negation of such a value.
distrusted-roothighThe key is emSign ECC Root CA - G3, removed from browser and OS trust stores.
issued-by-distrusted-roothighThe certificate’s signature verifies with that root’s key.
compromised-ca-parentwarningThe key, or the signer, is emSign Root TLS CA - G3 or emSign Root CS CA - G3, which issued the compromised intermediates.

The list and the certificates it was built from are public (Mozilla bug 2083449; each private key below 256 was recovered and re-checked). Nothing is fetched to run these checks.

API & MCP

The same logic is available over HTTP and as MCP tools. Unlike this page, these run on the server: see where your data goes.