checker: add timeout on openssl s_client

This commit is contained in:
nemunaire 2019-03-27 00:22:49 +01:00
parent 49dd68dae8
commit e7900cc5ac
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ do
EOF
# port 443
PAGE=$(echo | openssl s_client -host "${IP}1" -port 443 2> /dev/null) &&
PAGE=$(echo | busybox timeout -t 3 openssl s_client -host "${IP}1" -port 443 2> /dev/null) &&
curl -X POST -d @- "https://adlin.nemunai.re/challenge/101" <<EOF
{
"token": "${SECRET_KEY}",