Files
html/api/v76-scripts/skill-ssl-check.sh

9 lines
426 B
Bash
Executable File

#!/bin/bash
# V89 Skill-to-Agent POC - Opus WIRE 19-avr doctrine 95
# Skill: ssl-check
# Description: SSL cert check
# Whitelist-safe: no sudo, no destructive ops, timeout-protected
set -e
timeout 8 bash -c 'echo | openssl s_client -connect weval-consulting.com:443 -servername weval-consulting.com 2>/dev/null | openssl x509 -noout -enddate | head -1' 2>&1 || echo "{\"skill\":\"ssl-check\",\"error\":\"timeout_or_error\"}"