On Wed, 3 Mar 2021, Yassine Chaouche wrote:
Le 3/2/21 ? 9:02 PM, Matthias Kneer a ?crit :# echo | openssl s_client -connect emu.sbt.net.au:110 2>/dev/null | openssl x509 -noout -enddateI am intrigued about the function of echo in that command line ?
It just a dummy input so that openssl s_client does wait for data from
stdin. The OP could have also done
openssl s_client ... </dev/null
Joseph Tam <[email protected]>
