Ssl certificate

From vladkesler/initrunner · View interactive version

Ssl certificate is an AI agent skill from the GitHub repository vladkesler/initrunner. Check SSL/TLS certificate expiry and chain validity using openssl. Alerts on certificates expiring within 30 days.

How to use this skill

Skill file

SSL/TLS certificate checking skill.

When to activate

run at most once per week per endpoint)

Check command

echo | openssl s_client -connect <host>:443 -servername <host> 2>/dev/null | openssl x509 -noout -dates -subject -issuer

Replace <host> with the hostname extracted from the endpoint URL

(strip the protocol and path).

Parsing output

The command returns:

Calculate days until expiry from the notAfter date using the current

timestamp from datetime.

Alert thresholds

| Days remaining | Severity |

|---------------|----------|

| > 30 | No alert |

| 14-30 | Warning |

| 7-14 | Warning (urgent) |

| 1-7 | Critical |

| 0 or expired | Critical (emergency) |

Additional checks

checked. Mismatches indicate a misconfigured certificate.

certificates in production are a finding.

MUST

"ssl_check" to avoid redundant checks

MUST NOT

the URL contains "staging", "dev", "local", "localhost", "test")

first)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.