7 lines
370 B
Bash
Executable File
7 lines
370 B
Bash
Executable File
#!/bin/bash
|
|
# V31 batch generator - Opus WIRE doctrine 13+7 - Skill: cert-chain-depth
|
|
# Description: Cert chain depth
|
|
# Whitelist-safe timeout 8s
|
|
set +e
|
|
timeout 8 bash -c "echo | openssl s_client -connect weval-consulting.com:443 -showcerts 2>/dev/null | grep -c 'BEGIN CERTIFICATE'" 2>&1 || echo "{\"skill\":\"cert-chain-depth\",\"error\":\"timeout_or_missing_tool\"}"
|