Hi list,
currently I'm using
-----
CONN_STRING="$(${PATH_TO_OPENSSL} s_client -connect ${HOST_IP}:${PORT} -nbio -pause <
/dev/null 2>&1)"
to connect to a remote SSL-server to get the connection string for processing it with
echo "${CONN_STRING}" | ${PATH_TO_OPENSSL} x509 -noout -dates | grep "notAfter")"
to get the expiration date of the certificate.
------
That works pretty fine for most of the ssl hosts but sometimes openssl gets struck and
doesen't proceed farer than:
CONNECTED(00000003)
turning on non blocking io
write R BLOCK
openssl then only times out by the time out for connections by the OS.
->Is there any (undocumented) command line option for openssl s_client to specify a
time out (e.g. -timeout sec)?
->Otherwise I would like to ask to start a dicussion for integrating such a feature
into openssl s_client.
Please reply cc: to [EMAIL PROTECTED] as I haven't subscribed for this list.
I would appreciate any feedback...
Thank you & kind regards,
B. Courtin
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]