Jump to content

SSL certificate check

See who issued a website's certificate and when it runs out.

Your agent connects to a website the way a browser does and reads its certificate. It sees who issued it and how many days are left. It also sees which names it covers. If browsers would show a warning, you learn why, for example because the certificate expired.

Paste this into your AI agent

Set up Chab for me: fetch https://www.chab.ai/agent-setup.md?v=497c0f and follow it. Then use Chab to check the SSL certificate of www.python.org and tell me when it expires.

Your agent connects Chab and then runs it. Price: 1 credit per request. The free credits cover a first try. How it works in each app

Full reference for developers
Returns
JSON result
REST endpoint
POST /v1/seo/domains/ssl
Over MCP
Call chab_operation_start with "seo.domains.ssl"

What you get

Example request

{  "host": "www.python.org"}

Example result

{    "host": "www.python.org",    "ip": "151.101.0.223",    "port": 443,    "trusted": true,    "problems": [],    "protocol": "TLSv1.3",    "cipher": "TLS_AES_128_GCM_SHA256",    "certificate": {        "subject": {            "common_name": "www.python.org"        },        "issuer": {            "common_name": "GlobalSign Atlas R3 DV TLS CA 2025 Q4",            "organization": "GlobalSign nv-sa",            "country": "BE"        },        "names": [            "www.python.org",            "*.python.org",            "python.org"        ],        "matches_host": true,        "valid_from": "2026-01-13T13:03:46Z",        "valid_to": "2027-02-14T13:03:45Z",        "days_left": 90,        "expired": false,        "serial_number": "01FC68FD084537B393B8D6C708974969",        "signature_algorithm": "RSA-SHA256",        "key": {            "type": "RSA",            "bits": 2048        },        "sha256_fingerprint": "a162964cfe4209e308f700e88028757eb83d227b2bb35f67f186a6e70e1e201a"    },    "chain": [        {            "subject": {                "common_name": "GlobalSign Atlas R3 DV TLS CA 2025 Q4",                "organization": "GlobalSign nv-sa",                "country": "BE"            },            "issuer": {                "common_name": "GlobalSign",                "organization": "GlobalSign",                "organizational_unit": "GlobalSign Root CA - R3"            },            "valid_to": "2027-07-16T00:00:00Z"        }    ],    "fetched_at": "2026-11-16T11:41:31+00:00"}

You can also run this tool on a schedule as a monitor. Chab then keeps every result and emails you when it changes. Monitors need bought credits or a monthly plan. How monitors work

Inputs

FieldTypeDetails
hostrequiredstringThe host name, for example www.python.org.Up to 300 characters

How to call it

AI apps use it through hosted MCP. Coding agents can also use the CLI, and your own code can call the API. Each call starts a job, and your agent picks up the result when it is ready.

curl -X POST https://www.chab.ai/v1/seo/domains/ssl \  -H "Authorization: Bearer CHAB_API_KEY" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: seo-domains-ssl-001" \  -d '{"host":"www.python.org"}'

SSL certificate check result

{    "host": "www.python.org",    "ip": "151.101.0.223",    "port": 443,    "trusted": true,    "problems": [],    "protocol": "TLSv1.3",    "cipher": "TLS_AES_128_GCM_SHA256",    "certificate": {        "subject": {            "common_name": "www.python.org"        },        "issuer": {            "common_name": "GlobalSign Atlas R3 DV TLS CA 2025 Q4",            "organization": "GlobalSign nv-sa",            "country": "BE"        },        "names": [            "www.python.org",            "*.python.org",            "python.org"        ],        "matches_host": true,        "valid_from": "2026-01-13T13:03:46Z",        "valid_to": "2027-02-14T13:03:45Z",        "days_left": 90,        "expired": false,        "serial_number": "01FC68FD084537B393B8D6C708974969",        "signature_algorithm": "RSA-SHA256",        "key": {            "type": "RSA",            "bits": 2048        },        "sha256_fingerprint": "a162964cfe4209e308f700e88028757eb83d227b2bb35f67f186a6e70e1e201a"    },    "chain": [        {            "subject": {                "common_name": "GlobalSign Atlas R3 DV TLS CA 2025 Q4",                "organization": "GlobalSign nv-sa",                "country": "BE"            },            "issuer": {                "common_name": "GlobalSign",                "organization": "GlobalSign",                "organizational_unit": "GlobalSign Root CA - R3"            },            "valid_to": "2027-07-16T00:00:00Z"        }    ],    "fetched_at": "2026-11-16T11:41:31+00:00"}

Price: 1 credit per request. See all prices

Want to try Chab with your agent?

Copy the prompt and paste it into your AI. Your agent starts with free credits and doesn't need an account.

See plans