From: Xeno Campanoli Date: 2009-06-02T06:31:30+09:00 Subject: Re: Something Not going with my LDAP using SSL Brian Candler wrote: > Xeno Campanoli wrote: >> Xeno Campanoli wrote: >>>> not a normal FIN? I am not finding LDAP::SSLConn or SSLConn in my /usr tree, so presumably these are defined in a binary. The only places it is referred to is in an ldap.rb file in the core ruby 1.8 area, and then in a bunch of things in the doc tree. I guess it makes sense to me that this would not be strewn around as source code by default, as you don't want people hacking your stuff willy nilly. Can you recommend a way to get the sources off Ubuntu? I presume they are C, and I read/program C, though it's been a while. xc >>> SSL-Session: >>> Timeout : 300 (sec) >>> Verify return code: 19 (self signed certificate in certificate chain) >>> >>> >> I think we had a different response Friday. Is it possible that install >> of >> libopenssl-ruby has changed the cert location? > > I doubt very much that installing libopenssl-ruby could affect openssl > (the command line utility) > > So far I've seen no evidence to suggest that the certificate is the > problem, but now libopenssl-ruby is installed perhaps it is. Look > through the source to LDAP::SSLconn and see what option you need to set > to give the certificate path (or perhaps you can set an environment > variable). Adding some $stderr.puts debugging to see what's going on > would be a good idea too.