We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e3e77b commit 79aefffCopy full SHA for 79aefff
1 file changed
test/integration/test_bind.rb
@@ -21,7 +21,8 @@ def test_bind_fail
21
end
22
23
def test_bind_tls
24
- @ldap.encryption(method: :start_tls, tls_options: OpenSSL::SSL::SSLContext::DEFAULT_PARAMS)
+ tls_options = OpenSSL::SSL::SSLContext::DEFAULT_PARAMS.merge(:verify_mode => OpenSSL::SSL::VERIFY_NONE)
25
+ @ldap.encryption(method: :start_tls, tls_options: tls_options)
26
assert @ldap.bind(method: :simple, username: "uid=user1,ou=People,dc=rubyldap,dc=com", password: "passworD1"), @ldap.get_operation_result.inspect
27
28
0 commit comments