Skip to content
instance method

OpenSSL::SSL::SSLSocket#ssl_version

() -> ::OpenSSL::SSL::tls_version
ssl.ssl_version => String

Returns a String representing the SSL/TLS version that was negotiated for the connection, for example “TLSv1.2”.

See also #sigalg #state #session_reused? #stop also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0