SSL certificate
ssl_checkInspect a host's TLS certificate to check expiration, issuer, chain trust, hostname coverage, and TLS version. Use it to diagnose browser warnings or plan renewals.
Instructions
Inspects the TLS certificate a host actually serves: when it expires, who issued it, whether the chain verifies, which hostnames it covers, and which TLS version was negotiated.
Use it to answer "when does this certificate need renewing?", "why does the browser warn about this site?" or "does the certificate cover www as well as the bare domain?" — the last being one of the most common real-world misconfigurations, along with a missing intermediate certificate, which is reported as UNABLE_TO_VERIFY_LEAF_SIGNATURE.
Do not use it for domain registration expiry, which is a different date entirely — that is domain_check. It connects to the host but does not request a page; use uptime_check for that.
Certificates that are expired, self-signed or untrusted are inspected and reported rather than refused. Revocation is checked over OCSP, preferring the response a server staples to the handshake and otherwise asking the issuing authority directly; the answer is only believed once its signature verifies against that authority. Many healthy certificates cannot be checked at all, because since 2025 the two largest issuers publish no OCSP responder and distribute revocation by CRL instead — that is reported as an unavailable reason rather than as a problem with the site, and produces no finding. Certificate revocation lists are not downloaded.
A certificate is reported as a warning inside 14 days and as critical inside seven. That window is deliberately shorter than the one domain_check uses for registrations: ACME clients renew with 30 days left, so 28 days remaining is a healthy site in the middle of a normal renewal, not a problem. Returns findings ordered by urgency, worst first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | TCP port to connect to. Defaults to 443. Use 8443, 993 and so on for other services. | |
| domain | Yes | The host whose certificate should be inspected, e.g. "example.com" — no scheme, no trailing slash. A full URL is also accepted and reduced to its hostname. The certificate is read for exactly this host, so "www.example.com" and "example.com" are different checks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tls | Yes | What the handshake negotiated. | |
| host | Yes | The host that was contacted, in ASCII (punycode) form. | |
| port | Yes | The port that was contacted. | |
| chain | Yes | The certificate chain and whether it verified. | |
| issuer | Yes | Issuer common name, e.g. "R11" or "GTS CA 1P5". | |
| subject | Yes | Subject common name. | |
| coverage | Yes | Which hostnames this certificate is valid for. | |
| findings | Yes | What needs attention, worst first. | |
| issuedAt | Yes | Start of the certificate validity, ISO 8601 UTC. | |
| severity | Yes | How much attention this needs. "critical" means act now; "warning" means act this month; "unknown" means the check could not establish the fact, which is not the same as it being fine. | |
| checkedAt | Yes | When the check ran, ISO 8601 in UTC. | |
| expiresAt | Yes | When the certificate expires, ISO 8601 UTC. | |
| revocation | Yes | Whether the certificate has been revoked, and how confidently that was established. | |
| serialNumber | Yes | Certificate serial number, hexadecimal. | |
| daysUntilExpiry | Yes | Whole days until the certificate expires, negative if already expired. Floored, so a certificate expiring in a few hours reads as 0. | |
| fingerprintSha256 | Yes | SHA-256 fingerprint of the certificate. |