Nathan,

Judging from the exception, perhaps the problem is that the SSL certificate 
used by OpenLDAP could not be validated by Java. It could be that you're 
using a self signed certificate and Java does not trust it. If you are 
using a certificate signed by a third party, check that the root 
certificate in your certificate chain is recognized by Java.

See http://mindprod.com/jgloss/certificate.html#VIEWING

On Thursday 15 March 2007 03:39, Nathan Fiedler wrote: 

> P.S. I searched the lists, FAQ, and bug database. It seems the only
> thing I can find are some outdated emails without any solution.
>
>
> WARNING: Exception performing authentication
> javax.naming.CommunicationException: anonymous bind failed:
> localhost:636 [Root exception is javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to
> find valid certification path to requested target]
>       at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:176)
>       at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2658)
>       at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:287)
>       at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
> ...
-- 
Nicholas Sushkin, Senior Software Engineer
Open Finance, Chelsea Piers Pier 62 Suite 316, New York NY 10011
Tel +1 646 723 2790 Fax +1 646 723 2789 [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to