Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OpenSSL::SSL::SSLContext#set_minmax_proto_version

ctx.set_minmax_proto_version(min, max) → nil

Sets the minimum and maximum supported protocol versions. See min_version= and max_version=.