I want to connect LDAP server over SSL. For that i wrote java service but i am not able to connect and from error it seems it is not getting trust store though I am setting system property for truststore but still it is not picking up the certificate.
I tried stand alone java program and using the same trust store i am able to connect but not as webmethods java service.
I am getting below mentioned error. If anyone is having any idea about it please let me know.
javax.naming.CommunicationException: simple bind failed: toydevdc01.toyota.co.za: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]