for d in $( awk '/^\s*server_name/ {f=1} f {p=$NF;sub(/;$|server_name/,"",p);print p} /;$/ {f=0}' * )
do
echo -n "$d"
for tls in 1_0 1_1 1_2 1_3
do
state=""
if openssl s_client -connect $d:443 -host $d -tls$tls < /dev/null >& /dev/null
then
state="OK"
else
state="FAILED"
fi
echo -n " TLS${tls//_/.}:$state"
done
echo
done