TLS certificate check
tls_checkA site's TLS certificate: issuer, validity, days until expiry, SANs, protocol, cipher, chain and whether browsers trust it. Live TLS handshake to the host. Flags expired, expiring (< 14 days), untrusted or name-mismatched certificates. Price: $0.001 per call (10 free/day; after that a payment-required result lists x402 options). Errors: returns isError with a message for invalid input or an upstream failure (not charged).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>"
},
"name": "tls_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname without scheme or path, e.g. "example.com". | |
| port | No | TCP port serving TLS. Range 1-65535. Default 443. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| san | No | ||
| alpn | No | ||
| host | No | ||
| port | No | ||
| chain | No | ||
| cipher | No | ||
| issuer | No | ||
| serial | No | ||
| subject | No | ||
| trusted | No | ||
| key_bits | No | ||
| protocol | No | ||
| valid_to | No | ||
| warnings | No | ||
| days_left | No | ||
| issuer_cn | No | ||
| valid_from | No | ||
| trust_error | No | ||
| handshake_ms | No | ||
| fingerprint_sha256 | No |