Skip to content

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

instance method

OpenSSL::SSL::SSLContext#ciphersuites=

ctx.ciphersuites = "cipher1:cipher2:..."
ctx.ciphersuites = [name, ...]
ctx.ciphersuites = [[name, version, bits, alg_bits], ...]

Sets the list of available TLSv1.3 cipher suites for this context.