This commit is contained in:
olli 2024-02-07 16:01:14 +01:00
parent b20dac3b2c
commit c0f2e2e417

View File

@ -197,11 +197,12 @@
fi
done
grep Host /home/docker/traefik/providers/*.yml >>$g_tmp/hosts
resultfile="/tmp/ssllabs-scan-result-$$-$host"
cat $g_tmp/hosts | cut -d '`' -f2 | sort -u | while read host
do
resultfile="/tmp/ssllabs-scan-result-$$-$host"
host ${host} >/dev/null 2>&1 || continue
curl -s https://${host} >/dev/null 2>&1 || continue
echo '[]' >$resultfile
while cat $resultfile | jq -r | egrep -q '^\[\]$'
do
until ssllabs-scan --quiet ${host} >$resultfile