Richard Levitte - VMS Whacker <[EMAIL PROTECTED]>:

[...]
> I would suggest the following instead:
> 
>       cat DG01.txt dg.txt netscape-4.71-linux | openssl s_client \
>               -connect 10.0.0.100:5150 -cert EntrustCert1.pem \
>               -key EntrustKey1.pem
> 
> However, there's another problem as well.  As soon as EOF is reached,
> s_client will shut down the connection and exit *without waiting for
> anything*.  So, the transfer of your input gets through so quickly
> that the response won't get through before s_client shutdown the
> connection...

Also of course instead of patching s_client the "-quiet" option
should be used.  One if its effects is to ignore EOF at stdin,
so (cat ...)|openssl s_client should work with it.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to