added openssl 1.0 connect compatible option

This commit is contained in:
Pavel Muhortov 2023-08-27 13:03:14 +03:00
parent 22a539fc7e
commit c2096f5205

View File

@ -43,7 +43,8 @@ if [ -n "${certdest}" ]; then
certport=443 certport=443
fi fi
certdata=$( \ certdata=$( \
openssl s_client "${certpath}:${certport}" < /dev/null 2>/dev/null \ openssl s_client -connect "${certpath}:${certport}" \
< /dev/null 2>/dev/null \
) )
fi fi