Hi,

I'm trying to use self-signed certificates with Jldap. I was successful by
using a custom SSLSocketFactory like described here:

http://www.javaworld.com/javatips/jw-javatip115.html

Is this the way to go? Isn't there an easier way to do this?