Link to home
Start Free TrialLog in
Avatar of chaitu chaitu
chaitu chaituFlag for India

asked on

SSLHandshakeException:unable to find valid certification path to requested target

Getting below exception when connected to ldap host ldaps://xxxxgroup.corp.local:636

16:19:53,038 ERROR [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] Unable to connect to LDAP Server; check LDAP configuration javax.naming.CommunicationException: simple bind failed: xxxxgroup.corp.local: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]

ran the below program for server xxxxgroup.corp.local:636 but still getting same exception.

https://raw.githubusercontent.com/escline/InstallCert/master/InstallCert.java
ASKER CERTIFIED SOLUTION
Avatar of mccarl
mccarl
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chaitu chaitu

ASKER

excellent