Certificate Checker
Inspect SSL/TLS certificates on remote servers to check expiry dates, certificate chain validity, and issuer details.
What it does
Inspect SSL/TLS certificates on remote servers to check expiry dates, certificate chain validity, and issuer details.
Procedure
When this skill is activated, Chalie follows these steps:
- Use
memoryto recall any prior certificate checks or domains the user monitors. - Ask the user for the hostname (and optionally port, defaulting to 443) to inspect.
- Use
bashwith action read to runecho | openssl s_client -connect <host>:<port> -servername <host> 2>/dev/null | openssl x509 -noout -subject -issuer -dates -serialto retrieve the certificate subject, issuer, validity dates, and serial number. - Use
bashwith action read to runecho | openssl s_client -connect <host>:<port> -servername <host> 2>/dev/null | openssl x509 -noout -checkend 2592000to check whether the certificate expires within 30 days — this returns exit code 1 if expiry is imminent. - Present a clear report: domain, issuer, valid-from, valid-until, days remaining, and a verdict (OK if >30 days, WARNING if 7-30 days, CRITICAL if <7 days or expired).
- Use
memoryto store the certificate expiry date so future checks can alert if it is approaching.
Version
v1 (curated)