We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80d37ce + 96444ea commit 31a56d6Copy full SHA for 31a56d6
lib/openssl/ssl.rb
@@ -20,7 +20,7 @@ class SSLContext
20
DEFAULT_PARAMS = { # :nodoc:
21
:min_version => OpenSSL::SSL::TLS1_VERSION,
22
:verify_mode => OpenSSL::SSL::VERIFY_PEER,
23
- :verify_hostname => nil, # TODO => true needs JRuby support to call verify_certificate_identity
+ :verify_hostname => true,
24
:options => OpenSSL::SSL::OP_ALL | OpenSSL::SSL::OP_NO_COMPRESSION
25
}
26
0 commit comments