- strip stdout output, and redirect the stderr output to stdout:
openssl s_client -showcerts -connect example.com:443 </dev/null 2>&1 1>/dev/null
- merge stderr to stdout, and strip all of them:
openssl s_client -showcerts -connect example.com:443 </dev/null 1>/dev/null 2>&1