checker: add timeout on openssl s_client
This commit is contained in:
parent
49dd68dae8
commit
e7900cc5ac
@ -32,7 +32,7 @@ do
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# port 443
|
# 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
|
curl -X POST -d @- "https://adlin.nemunai.re/challenge/101" <<EOF
|
||||||
{
|
{
|
||||||
"token": "${SECRET_KEY}",
|
"token": "${SECRET_KEY}",
|
||||||
|
Reference in New Issue
Block a user