#tls
2 one-liners with this tag.
All one-liners tagged tls
Check whether a server supports TLS 1.3
$openssl s_client -connect example.com:443 -servername example.com -tls1_3 </dev/null 2>/dev/null | grep -E "^New,|Protocol *:"
Test an SMTP connection with STARTTLS and certificate
$openssl s_client -connect mail.example.com:587 -starttls smtp -servername mail.example.com