javax.naming.CommunicationException: simple bind failed: server.name: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(Unknown Source) at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source) at com.sun.jndi.ldap.LdapCtx.(Unknown Source) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
In either case (ldaps or ldap) I get login failed when I try to login with my NT user/password, Jenkins runs on windows.
Am I missing something here?
Gil
All,
I installed the latest LDAP Plugin for Jenkins.When I use ldap://server.name I get no error under the LDAP Server line, however when I use ldaps://server.name:636 I get the following error:
Unable to connect to ldaps://server.name:636 : javax.naming.CommunicationException: simple bind failed: server.name: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]
[...]
In either case (ldaps or ldap) I get login failed when I try to login with my NT user/password, Jenkins runs on windows.
Hi,
Your answer relates to Active Directory, I'm using LDAP 389 on Linux.Any other idea?