Hello B,

Hey if you get an answer to this question I'd love to know it.  I've
encountered this problem myself.  I also had to use OS kernel timeout, to
kill the connection...  I've posted this question to the list also but no
answer.  If I hear anything I'll let you know too.

Later,
Gene
----- Original Message -----
From: "Courtin Bert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 9:05 AM
Subject: time out parameter for command line of openssl (s_client) bin


> 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]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to