SSL Versions
Found this question on SO that @spickermann answered and I thought might be useful for someone as was to me.
Using NET::HTTP I was looking for ssl version to use in:
http.ssl_version = :version
Options below:
OpenSSL::SSL::SSLContext::METHODS
# => [
# => [ 0] :TLSv1,
# => [ 1] :TLSv1_server,
# => [ 2] :TLSv1_client,
# => [ 3] :TLSv1_2,
# => [ 4] :TLSv1_2_server,
# => [ 5] :TLSv1_2_client,
# => [ 6] :TLSv1_1,
# => [ 7] :TLSv1_1_server,
# => [ 8] :TLSv1_1_client,
# => [ 9] :SSLv3,
# => [10] :SSLv3_server,
# => [11] :SSLv3_client,
# => [12] :SSLv23,
# => [13] :SSLv23_server,
# => [14] :SSLv23_client
# => ]
Written by Cassio Cabral
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#