forked from mtusi2026/mtusi2026lab7
feat: complete lab 7 grade 4 security controls and report
This commit is contained in:
@@ -3,7 +3,7 @@ set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
port=$(docker compose port haproxy 8443)
|
||||
for attempt in $(seq 1 30); do
|
||||
if curl --silent --fail --max-time 2 --cacert secrets/tls/lab7-ca.crt \
|
||||
if curl --silent --fail --max-time 2 --cacert secrets/tls/lab7-ingress-ca.crt \
|
||||
"https://localhost:${port##*:}/health/ready" >/dev/null; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user