Files
wevia-brain/ssl-check.sh
2026-04-12 23:01:36 +02:00

7 lines
271 B
Bash
Executable File

#!/bin/bash
echo "SSL CERTIFICATES:"
for D in weval-consulting.com ethica.wevup.app crm.weval-consulting.com; do
EXP=$(echo | openssl s_client -servername $D -connect $D:443 2>/dev/null | openssl x509 -noout -enddate 2>/dev/null | cut -d= -f2)
echo " $D: $EXP"
done