Skip to content
Skills Library
DevOps & cloud · Review & audit

cert-check

/cert-check

Check TLS certificate health for endpoints - expiry, chain verification, TLS version, cipher inspection, HTTP header validation. Use when user says "cert check", "certificate expiry".

Repository
skills ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Check TLS certificate health for endpoints - expiry, chain verification, TLS version, cipher inspection, HTTP header validation. Use when user says "cert check", "certificate expiry".

Triggers from the description

cert checkcertificate expiry
Original author description

Check TLS certificate health for endpoints - expiry, chain verification, TLS version, cipher inspection, HTTP header validation. Use when user says "cert check", "certificate expiry".

How it works

  1. Inputs
  2. Workflow
  3. Key MCP Tools
  4. Chains To
Original SKILL.md headings · 58 lines, 270 words
SKILL.md preview
---
name: cert-check
description: Check TLS certificate health for endpoints - expiry, chain verification, TLS version, cipher inspection, HTTP header validation. Use when user says "cert check", "certificate expiry".
---

# Certificate Check

## Inputs

| Input | Type | Default | Purpose |
|-------|------|---------|---------|
| `endpoints` | string | required | Comma-separated host:port endpoints |
| `warn_days` | string | 30 | Warn if cert expires within this many days |
| `environment` | string | stage | Environment (stage, production, ephemeral) |

## Workflow

### 1. Bootstrap
- `persona_load("devops")` — openssl, curl, nmap tools
- `check_known_issues("openssl", "")`, `check_known_issues("certificate", "")`

### 2. Certificate Checks (first endpoint)
- Parse host from `endpoints.split(',')[0].strip()`
- `openssl_s_client(host="{host}")` — TLS connection
- `openssl_s_client_cert(host="{host}")` — certificate details
- `openssl_x509_info(host="{host}")` — X.509 info
- `openssl_x509_verify(host="{host}")` — chain verification
- `curl_headers(url="https://{host}")` — HSTS and security headers
- `nmap_scan(target="{host}")` — TLS port
- `nmap_script(target="{host}")` — SSL scripts

### 3. Parse Certificate
- Extract: subject, issuer, expiry (Not After), days_left
- expiry_warning = days_left < warn_days
- chain_valid = "verify return code: 0" in verify output
- has_hsts = "strict-transport-security" in headers
- healthy = chain_valid and not expiry_warning and days_left > 0

### 4. InScope Lookup
- `inscope_ask("How do I manage TLS certificates for {environment} environment?")`

### 5. Report
- Certificate details table
- Health status
- Nmap SSL analysis
- Documentation snippet
- Log: `memory_session_log("Certificate check on {endpoints}", "healthy={healthy}, days_left={days}")`

### 6. Failure Learning
- Unable to get local issuer → `learn_tool_fix("openssl_x509_verify", "unable to get local issuer", "Missing CA bundle", "Ensure system CA certs up to date")`
- Certificate has expired → `learn_tool_fix("openssl_s_client", "certificate has expired", "Cert expired", "Renew via cert-manager or manual")`

## Key MCP Tools

- `persona_load`, `openssl_s_client`, `openssl_s_client_cert`, `openssl_x509_info`, `openssl_x509_verify`
- `curl_headers`, `nmap_scan`, `nmap_script`
- `inscope_ask`, `check_known_issues`, `learn_tool_fix`, `memory_session_log`

## Chains To

- `security_audit`

Versions

The database has no other skills named cert-check.

Database snapshot: 13.11.2026 · package version fe79afaf6e31 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100analyzing-tls-config
    Analyze a target's TLS configuration — negotiated protocol version, cipher suite, certificate chain, expiry, and downgrade vectors. Use when: SOC2 auditor flagged your endpoint for "weak TLS" but you don't know which control failed (TSC CC6.7 transmission integrity vs CC6.6…
  • 90certificate-monitoring
    Use when the user asks about SSL/TLS certificates, certificate expiration, monitoring domains for cert health, or issuing free Let's Encrypt certificates. Triggers include "is my cert expiring", "scan ssl on X", "check certificate", "monitor this domain", "issue a free cert",…
  • 100certificate-management
    Use when managing TLS certificates and PKI infrastructure — issuing, renewing, or rotating certificates, debugging TLS handshake failures, managing cert-manager in Kubernetes, operating an internal CA, creating CSRs, or checking certificate expiration. Also use for "certificate…
  • 100cert-manager-tls-automation
    Guides installing and configuring cert-manager for automated TLS certificate issuance and renewal — Issuers vs. ClusterIssuers, ACME/ Let's Encrypt HTTP-01 and DNS-01 challenges, private-CA issuance, and integration with Ingress-nginx and Istio gateways. Use when a user asks to…
  • 100k8s-certs
    Kubernetes certificate management with cert-manager. Use when managing TLS certificates, configuring issuers, or troubleshooting certificate issues.
  • 100managing-certificates-and-encryption
    Manages TLS certificate and encryption key lifecycle across all tiers. Self-Hosted covers certificate expiry monitoring, node/CA/client cert rotation, and Kubernetes cert management. Advanced/BYOC covers managed TLS (no action) and CMEK (Customer-Managed Encryption Key) rotation…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.