Bedo Sandor said:
> -  How to create TLS connections in Ruby?

Use the class SSLConn.
I think your code should work, so I will look into it.
Can you see server's logs? I'd like to see them.

> -  If client library verifies the servers certificate, where
> can I put the CA's certificate?  ldap.conf is ok?

Conn#set_option() may help you, and its usage is almost
same as ldap_set_option() in OpenLDAP APIs.
However, I didn't fully test it.

> -  Is there any documentation about libruby-ldap except the
> few examples in the package itself?  Where?

There is no documentation.

Regards,
-- 
Takaaki Tateishi <ttate / ttsky.net>