Re: What's the java equivalent of ldap_set_option( NULL, LDAP_OPT_X_TLS_CACERTDIR, cert_path)?

2011-10-19 Thread Howard Chu
Nick Milas wrote: Probably not much to the point, but I thought I should send this info (derived from earlier posts in this list). Which Java LDAP SDK you use is irrelevant. The point is that Java has its own TLS certificate/key management system and it doesn't use PEM files. For Java apps

Re: What's the java equivalent of ldap_set_option( NULL, LDAP_OPT_X_TLS_CACERTDIR, cert_path)?

2011-10-19 Thread Ludovic Poitou
Hi, For Java apps, one might also want to consider Apache Directory API http://directory.apache.org/api/ or OpenDJ LDAP API and Toolkit http://opendj.forgerock.org/opendj-ldap-sdk/. Kind regards, Ludovic. Ludovic Poitou ForgeRock - Product Manager for OpenDJ, open source LDAP directory

What's the java equivalent of ldap_set_option( NULL, LDAP_OPT_X_TLS_CACERTDIR, cert_path)?

2011-10-18 Thread daisy.wu
Hi, OpenLDAP developers, I have been able to successfully write a simple C program using the OpenLDAP C-SDK to establish connection to Microsoft Active Directory Server over SSL. In my test program, I call ldap_set_option( NULL, LDAP_OPT_X_TLS_CACERTDIR, cert_path) to set the path to a

Re: What's the java equivalent of ldap_set_option( NULL, LDAP_OPT_X_TLS_CACERTDIR, cert_path)?

2011-10-18 Thread Brian Reichert
On Tue, Oct 18, 2011 at 07:28:17PM -0400, daisy...@emc.com wrote: I am trying to write a Java LDAP client program using Novell's JLDAP to connect to Microsoft Active Directory server, over SSL. I would like to use my current cert_path (listed above) to establish LDAP SSL connection, in Java.