Skip to content
instance method

OpenSSL::SSL::SSLContext#max_version=

(::OpenSSL::SSL::tls_version version) -> ::OpenSSL::SSL::tls_version
ctx.max_version = OpenSSL::SSL::TLS1_2_VERSION
ctx.max_version = :TLS1_2
ctx.max_version = nil

Sets the upper bound of the supported SSL/TLS protocol version. See min_version= for the possible values.

See also #groups= #min_version= #freeze #options also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0