How does inspect_ssl check expiry?
It opens a TLS socket to the hostname on port 443, reads notAfter from the leaf certificate, and reports how many days remain. Pass the hostname alone, without a scheme or a path.
inspect_ssl connects to port 443 on the hostname you pass and reads the certificate the server presents. The agent gets the issuer, the notAfter date, and the remaining days. It does not change the certificate and it does not need an account.
| Name | Required | Detail |
|---|---|---|
| domain | Yes | Hostname only, such as api.github.com. Do not include https:// or a path. |
{
"domain": "api.github.com",
"issuer": "Example issuer from the live handshake",
"notAfter": "2026-12-31T00:00:00Z",
"daysRemaining": 38,
"valid": true
}A refused connection or a TLS alert comes back as an error string. That is a reachability result, not a certificate.
The tool reads the certificate the server sends. It does not consult a third-party certificate transparency log.
It opens a TLS socket to the hostname on port 443, reads notAfter from the leaf certificate, and reports how many days remain. Pass the hostname alone, without a scheme or a path.
No. The handshake only sees the certificate the host presents today. A certificate sitting in a file on disk is outside this tool.
Treat the error as a failed handshake. Check the hostname, confirm port 443 is open, and do not invent an expiry date from the error text.
Connect at https://wolrdpulse.app/sse