Command to know TLS Version:
openssl ciphers -v | awk '{print $2}' | sort | uniq
For TLS 1.3:
openssl s_client -connect www.google.com:443 -tls1_3
For TLS 1.2:
openssl s_client -connect www.google.com:443 -tls1_2
For TLS 1.1:
openssl s_client -connect www.google.com:443 -tls1_1
For TLS 1:
openssl s_client -connect www.google.com:443 -tls1
If you get the certificate chain and the handshake then the TLS version is supported. If you don’t see the certificate chain, and something similar to “handshake error” then its not.
Leave a Comment