SSL Certificate Expiry & Security Headers Checker (A–F) avatar

SSL Certificate Expiry & Security Headers Checker (A–F)

Pricing

$3.00 / 1,000 site scanneds

Go to Apify Store
SSL Certificate Expiry & Security Headers Checker (A–F)

SSL Certificate Expiry & Security Headers Checker (A–F)

For MSPs, agencies & IT teams monitoring client sites: bulk-scan SSL/TLS certificate expiry, chain and hostname errors, legacy TLS 1.0/1.1, HSTS, CSP and security headers, cookie flags. A–F grade, prioritized fixes and expiry alerts – schedule it and never miss a renewal.

Pricing

$3.00 / 1,000 site scanneds

Rating

0.0

(0)

Developer

maraa k

maraa k

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

SSL Certificate & Security Headers Scanner (A–F grade)

Scan hundreds of websites at once for SSL/TLS certificate problems and missing security headers. Each host gets an A–F grade, a 0–100 score, and a prioritized list of exact fixes. Run it on a schedule to catch expiring certificates before your customers see a browser warning.

Made for DevOps and SRE teams, MSPs managing client sites, security consultants and agencies.

What it checks

AreaChecks
CertificateExpiry (days left), trusted chain, hostname coverage (SAN), self-signed, untrusted root, incomplete chain / missing intermediate, key type and size, SHA-1 signatures, issuer, SAN list, wildcard
TLSNegotiated protocol and cipher, TLS 1.0/1.1 still enabled, TLS 1.3 support, legacy-only servers
RedirectWhether HTTP → HTTPS redirects
HeadersHSTS (with max-age check), Content-Security-Policy (flags unsafe-inline), clickjacking protection (X-Frame-Options / frame-ancestors), X-Content-Type-Options, Referrer-Policy, Permissions-Policy, server version leaks
CookiesMissing Secure, HttpOnly (on session cookies) and SameSite

Accuracy

  • Validated against badssl.com, the industry test bed. Expired, wrong-host, self-signed, untrusted-root and incomplete-chain certificates are all detected correctly on this build.
  • TLS 1.0/1.1 detection actually works. Modern OpenSSL refuses to speak TLS 1.0/1.1 by default, so many scanners report "disabled" for every server. This one lowers the security level for those probes only, and the results were cross-checked with openssl s_client.
  • Hostname checked independently, so a valid certificate for the wrong domain is still caught.
  • A critical certificate problem caps the grade at F, however good the headers are.

Input

{ "urls": ["example.com", "www.example.com", "shop.example.com:8443"], "expiryWarnDays": 30, "onlyProblems": true }

Output

{
"host": "expired.badssl.com",
"grade": "F",
"score": 30,
"certificateValid": false,
"daysUntilExpiry": -3874,
"topFix": "Renew the certificate now and enable auto-renewal (certbot/ACME).",
"issues": [{ "area": "certificate", "severity": "critical", "message": "Certificate EXPIRED 3874 day(s) ago (2015-04-12).", "fix": "Renew the certificate now…" }],
"certificate": { "issuer": "COMODO CA Limited", "trusted": false, "coversHostname": true, "keyType": "RSA", "keyBits": 2048, "protocol": "TLSv1.2", "sans": ["*.badssl.com", "badssl.com"] },
"tlsVersions": { "tls10": false, "tls11": false, "tls13": false },
"headers": { "present": { "strict-transport-security": null }, "versionLeaks": ["Server: nginx/1.10.3"] }
}

Monitoring tip

Schedule this actor daily with onlyProblems: true and expiryWarnDays: 21, then connect a Slack or email integration. You'll only hear about hosts that need attention.

How to use it

  1. Paste hostnames or URLs into URLs (host:port works too).
  2. Set Expiry warning days (e.g. 21). Turn on Only problems if you're monitoring.
  3. Click Start.
  4. Open Overview for grades and days until expiry, or Issues for a fix list.

How much does it cost?

You pay $3 per 1,000 sites returned, with no subscription and no separate compute charges. Filters that drop rows mean you don't pay for those rows.

You processTypical useCost
50 sitesone MSP's client sites$0.15
1,000 sitesa daily monitoring run for an agency$3
10,000 sitesan attack-surface sweep$30

Apify's free plan includes monthly credit, which is enough to try this actor on a real list before you pay anything.

Use it from code or your tools

Run it from Make, Zapier, n8n, Google Sheets, Slack, webhooks or any language through the Apify API.

Python

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("lokieee0/ssl-security-scanner").call(run_input={
"urls": [
"example.com",
"shop.example.com"
],
"onlyProblems": True
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('lokieee0/ssl-security-scanner').call({"urls": ["example.com", "shop.example.com"], "onlyProblems": true});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

cURL (run and get results in one request)

curl -X POST "https://api.apify.com/v2/acts/lokieee0~ssl-security-scanner/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"urls": ["example.com", "shop.example.com"], "onlyProblems": true}'

FAQ

How do I get alerts before a certificate expires? Schedule the actor daily with onlyProblems: true, then add a Slack or email integration. Runs with no problems send nothing.

Is this an active vulnerability scanner? No. It makes normal HTTPS connections and reads certificates and headers, the same as a browser, so it's safe to run against client sites.

Why does TLS 1.0 show as enabled when other tools say it's off? Many tools use modern OpenSSL, which refuses to probe TLS 1.0/1.1 and reports 'disabled' for everything. This actor probes them properly, and results were cross-checked with openssl s_client.

Can I schedule it or connect it to other apps? Yes. Use Apify Schedules for recurring runs, and Integrations to send results to Google Sheets, Slack, email, Zapier, Make, n8n or a webhook.

Something didn't work or a field is missing? Open an issue on the Issues tab. Reports are usually fixed within a few days, and feature requests are welcome.

More tools from the same developer