4 Mar
2021
4 Mar
'21
1:05 a.m.
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 -enddate
I 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 <jtam.home@gmail.com>