openssl s_client OPTIONS ARGUMENTS
openssl s_client -connect example.com:443
openssl s_client -host example.com -port 443
openssl s_client --connect 127.0.0.1:30001 -quiet
depth=0 CN = localhost
verify error:num=18:self signed certificate
verify return:1
depth=0 CN = localhost
verify return:1
openssl s_client -showcerts -host example.com -port 443 </dev/null
openssl s_client -connect example.com:443 2>&1 < /dev/null | sed -n '/-----BEGIN/,/-----END/p' > certificate.pem
openssl s_client -host example.com -port 443 -ssl3 2>&1 </dev/null
Options
-ssl2
-ssl3
-tls1
-tls1_1
-tls1_2
openssl s_client -host example.com -port 443 -cipher ECDHE-RSA-AES128-GCM-SHA256 2>&1 </dev/null
openssl s_time -connect example.com:443 -new
openssl s_time -connect example.com:443 -reuse