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

Dan Mahoney <[email protected]> Thu, 25 Sep 2025 14:25:17 -0700 (PDT)
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
Hey there folks.

I'm writing some certificate checks that call s_client to fetch my cert, 
but openssl s_client is blocking.  Is there an easy way to tell it "hang up 
as soon as negotiation settles?"

Perhaps with a "clean" command like "QUIT" or something (depending on the 
protocol being used).

This complicates scripting it with a simple shell script or something like 
that, and would be super useful.

-- 
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/ff2da79b-e865-4228-b8d8-12fab754ec19n%40openssl.org.