How to check TLS version in Linux
We can use the following command to check if which TLS version google.com supports.
#openssl s_client -connect www.google.com:443 -tls1
#openssl s_client -connect www.google.com:443 -tls1_1
#openssl s_client -connect www.google.com:443 -tls1_2
#openssl s_client -connect www.google.com:443 -tls1_3
-tls1 for TLSv1
-tls1_1 for TLSv1.1
-tls1_2 for TLSv1.2
We can also use nmap command to check the TLS version in Linux. nmap –script ssl-enum-ciphers -p 443 www.google.com
No comments:
Post a Comment