You are viewing a plain text version of this content. The canonical link for it is here.
Posted to api@directory.apache.org by Steven Nguyen <sn...@advantco.com> on 2015/09/02 11:37:25 UTC

Cannot connect to LDAP server via SSL

Hi,

I'm trying to connect through LDAP server via SSL. I followed the User's
Guide on website to create a LdapNetworkConnection but it failed to connect.

LdapConnection connection = new LdapNetworkConnection( "<Host_name>",
636, true );

SSL is configured on LDAP server. I could create SSL connection to the
server using Apache Directory Studio.
I could not find much information in the User's Guide.

Could anyone please tell me what I'm missing?

Thanks and Best Regards,

Steven Nguyen <http://www.advantco.com>