/v1/tools/ssl SSL / TLS check
Open a TLS connection to the target and return the negotiated handshake plus the parsed leaf certificate (subject, issuer, validity, SHA-1 fingerprint).
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
| target | string | yes | — | Host to check (hostname or IP). Alias: host. |
| port | integer | no | 443 | TLS port, 1–65535. |
curl -sS -X POST "https://api.speedtest.doctor/v1/tools/ssl" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target":"example.com"}' {
"tool": "ssl",
"target": "example.com",
"port": 443,
"timed_out": false,
"duration_ms": 564,
"handshake": "CONNECTION ESTABLISHED\nProtocol version: TLSv1.3\nCiphersuite: TLS_AES_256_GCM_SHA384\nPeer certificate: CN = example.com\nVerification: OK\nDONE",
"certificate": {
"subject": "CN = example.com",
"issuer": "C = US, O = SSL Corporation, CN = Cloudflare TLS Issuing ECC CA 3",
"not_before": "May 31 21:39:12 2026 GMT",
"not_after": "Aug 29 21:41:26 2026 GMT",
"fingerprint_sha1": "E7:F6:0D:1A:FE:CD:FF:DF:16:4B:74:79:38:6B:BE:67:CD:D8:E5:1E"
}
}