Akhil Dev – Super Charged Digital Marketing Strategy for Your Business Ask Questions General Questions How can I verify if TLS 1.2 is supported on a remote web server from the RHEL/Ce

Tagged: ,

  • How can I verify if TLS 1.2 is supported on a remote web server from the RHEL/Ce

     Joseph updated 3 months ago 2 Members · 2 Posts
  • Akash

    Member
    August 21, 2020 at 3:12 pm

    I’d like to determine from the linux shell if a remote web server specifically supports TLS 1.2 (as opposed to TLS 1.0). Is there an easy way to check for that?

    I’m not seeing a related option on openssl but perhaps I’m overlooking something

  • Joseph

    Member
    August 21, 2020 at 3:40 pm

    You should use openssl s_client, and the option you are looking for is -tls1_2.

    An example command would be:

    openssl s_client -connect google.com:443 -tls1_2

    If you get the certificate chain and the handshake you know the system in question supports TLS 1.2. If you see don’t see the certificate chain, and something similar to “handshake error” you know it does not support TLS 1.2. You can also test for TLS 1 or TLS 1.1 with -tls1 or tls1_1 respectively

Log in to reply.

Original Post
0 of 0 posts June 2018
Now