I'd like to use openssl s_client in order to see if a site supports a specific TLS version. In this case, I'd like to test for the deprecated TLS 1.1 (to make sure it's not active). After reading the docs, I thought that I could use something like this (ex: using badssl tls 1.1 site):
> openssl s_client -connect tls-v1-1.badssl.com:1011 -tls1_1
CONNECTED(00000003)
40C7E140617D0000:error:0A0000BF:SSL routines:tls_setup_handshake:no protocols available:../ssl/statem/statem_lib.c:104:
no peer certificate available
No client certificate CA names sent
SSL handshake has read 0 bytes and written 7 bytes
Verification: OK
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
I'm running this on an Ubuntu 23.10 box. What am I missing?
Edit: I've updated the box to Ubuntu 24.04 and got the same results.
Thanks.
tls_setup_handshake:no protocols available...I think that confirmed it's not available. – JayCravens Jun 20 '24 at 19:02