Re: Is there a way to tell s_client to just "send a command" and quit?

Jochen Bern <[email protected]> Fri, 26 Sep 2025 13:14:34 +0200
Newsgroups gmane.comp.encryption.openssl.user
Organization Binect GmbH
Message-ID <[email protected]>
On 26.09.25 10:53, Viktor Dukhovni wrote:
> On Fri, Sep 26, 2025 at 09:36:24AM +0200, Jochen Bern wrote:
>> ( echo -e 'GET / HTTP/1.1\r' ; echo -e 'Host: foo.bar\r' ; ...
> 
> It seems you may be unaware of the `-crlf` option of openssl-s_client(1).

I was, thanks. :-)

(Now if only it were equally simple for the no-crypto counterpart ... 
say, there's no way to call s_client so as to serve as a drop-in 
replacement for (non-port-23) "telnet", is there? ;-)

Kind regards,
-- 
Jochen Bern
Systemingenieur

Binect GmbH

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/cc9ed89d-7fb0-47b3-9ac6-068d980baf15%40binect.de.
smime.p7s (application/pkcs7-signature, 4.2 KB) - not displayed