# SSL/TLS Certificate Checker (`sootesting/ssl-certificate-checker`) Actor

Check SSL/TLS certificates for any list of domains — expiry countdown, weak protocols (TLS 1.0/1.1), domain mismatch, and more. Outputs structured JSON. Pay-per-event.

- **URL**: https://apify.com/sootesting/ssl-certificate-checker.md
- **Developed by:** [soot](https://apify.com/sootesting) (community)
- **Categories:** SEO tools, Developer tools
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## SSL/TLS Certificate Checker

Check SSL/TLS certificates for any list of domains — expiry date, days remaining, issuer, SAN, TLS version and security warnings (expired/weak protocol/weak key). Pay-per-event: $0.01 per batch of up to 200 domains.

### 🚀 What it does

This Actor automates a task that would otherwise take hours of manual work. It is built for **batch processing** — run it once on a list of inputs and get a structured, downloadable report.

### ✨ Features

- <b>Batch processing</b> — handle one or many inputs in a single run
- <b>Structured output</b> — clean tables, ready for CSV/JSON export
- <b>Pay-per-event pricing</b> — you only pay for what you use
- <b>API & CLI ready</b> — integrate it into any workflow

### 📥 Input configuration

Configure the Actor with these fields:

<table>
<thead><tr><th>Field</th><th>Type</th><th>Required</th><th>Description</th></tr></thead>
<tbody>
<tr><td><code>hosts</code></td><td>array</td><td>✅ Required</td><td>List of domains to check SSL/TLS certificates for (e.g. "example.com"). One output row per host.</td></tr>
</tbody>
</table>

### 💡 Usage example

#### Run via Apify API (cURL)

```bash
curl -X POST "https://api.apify.com/v2/acts/sootesting~ssl-certificate-checker/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "startUrls": [
    "https://example.com"
  ]
}'
```

#### Run via Apify CLI

```bash
apify run --actor-name sootesting~ssl-certificate-checker --input '{
  "startUrls": [
    "https://example.com"
  ]
}'
```

### 📤 Output schema

The Actor produces the following structured data:

<table>
<thead><tr><th>Field</th><th>Type</th><th>Description</th></tr></thead>
<tbody>
<tr><td><code>host</code></td><td>string</td><td>host</td></tr>
<tr><td><code>commonName</code></td><td>string</td><td>commonName</td></tr>
<tr><td><code>subjectAltNames</code></td><td>array</td><td>subjectAltNames</td></tr>
<tr><td><code>issuer</code></td><td>string</td><td>issuer</td></tr>
<tr><td><code>validFrom</code></td><td>string</td><td>validFrom</td></tr>
<tr><td><code>validTo</code></td><td>string</td><td>validTo</td></tr>
<tr><td><code>daysRemaining</code></td><td>integer</td><td>daysRemaining</td></tr>
<tr><td><code>expired</code></td><td>boolean</td><td>expired</td></tr>
<tr><td><code>expiringSoon</code></td><td>boolean</td><td>expiringSoon</td></tr>
<tr><td><code>tlsVersion</code></td><td>string</td><td>tlsVersion</td></tr>
<tr><td><code>signatureAlgorithm</code></td><td>string</td><td>signatureAlgorithm</td></tr>
<tr><td><code>warnings</code></td><td>array</td><td>warnings</td></tr>
</tbody>
</table>

### 💰 Pricing

Pay-per-event. See the Actor's pricing tab for current rates. You are only charged for successful events — platform usage is passed through transparently.

### 🔗 Related

Part of the <b>Sootesting SEO & Data Toolkit</b> — a suite of focused actors for technical SEO, security auditing, and data extraction.

***

<sub>Generated with structured, semantic formatting for maximum readability in Apify Store.</sub>

# Actor input Schema

## `hosts` (type: `array`):

List of domains to check SSL/TLS certificates for (e.g. "example.com"). One output row per host.

## Actor input object example

```json
{}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("sootesting/ssl-certificate-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("sootesting/ssl-certificate-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call sootesting/ssl-certificate-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sootesting/ssl-certificate-checker"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/JjkiH8EgWjNMIjZD7/builds/ENYOXhO2PpmGd2sjm/openapi.json
