Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > java , ssl, and active directory

Thread Tools

java , ssl, and active directory

Brandon McCombs
Posts: n/a
I have a java app that uses JNDI to talk to Active Directory through
LDAP. In order to set passwords ADS requires a SSL connection. At one
point I had this working but part of the virtual machine that I have
Active Directory running in got corrupted and I had to redo the
certificates and since then I can't get a SSL connection to be
established using my app.

The error is javax.naming.CommunicationException: simple bind failed: [Root exception is PKIX path validation failed: signature check failed]

I'm not quite sure what this means (not sure why Sun thinks I should
know). I documented that I need to export the CA certificate from ADS
and so I did that again. It also seems I had created a user certificate
for the administrator (the user I'm testing my app with) so I redid the
user cert. I've put both of those certs into my keystore and I'm
specifying the keystore and the keystore password in my code. The code
hasn't changed as far as SSL is concerned. However I have changed the
format of the username that I have my app use to authenticate users. I
used to use just "administrator" but I changed it to
"(E-Mail Removed)". I'm not sure how that affects anything
since the domain is still okay (I only had to reinstall Cert Services to
create a new CA cert and then create a new user cert).

Any ideas on how to go about diagnosing this?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
System.IO.Directory.GetDirectories() and System.IO.Directory.GetFiles() are not returning the specified directory Nathan Sokalski ASP .Net 2 09-06-2007 03:58 PM
MS Active directory users authentication with java majied Java 0 07-15-2005 04:58 AM
ACTIVE DIRECTORY IN WINDOWS AND JAVA majied Java 3 07-07-2005 11:13 AM
Active Directory Search fails ("The directory service is unavailab ejcosta ASP .Net Security 2 10-08-2004 09:57 AM
Active Directory and Java Tom Ewall Java 4 08-05-2004 05:25 AM