{"id":9525,"date":"2016-05-03T16:10:34","date_gmt":"2016-05-03T23:10:34","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=9525"},"modified":"2020-08-27T16:24:49","modified_gmt":"2020-08-27T23:24:49","slug":"ldaps-compatibility","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/ldaps-compatibility\/","title":{"rendered":"Troubleshooting LDAPS Authentication"},"content":{"rendered":"
Applies to: <\/strong>Ephesoft Transact 4.0.0.0 and above<\/span><\/p>\n LDAP authentication over SSL (LDAPS) fails due to \u201cInvalid Credentials: Error code 49\u201d. When the server tries to connect, the following error can be seen in the catalina.out<\/strong> log file:<\/span><\/p>\n There are a few reasons why this may occur:<\/span><\/p>\n Before proceeding, ensure that your credentials are entered correctly and that you have configured the correct port. The solution below describes how to resolve an invalid certificate.<\/span><\/p>\n Ensure your Ephesoft server is already set up and integrated with Active Directory using LDAP. Otherwise, refer to one of the following articles to configure Active Directory using the Global Catalog Service Port<\/a><\/span> or using the Standard LDAP Service Port<\/a><\/span>.<\/span><\/p>\n The certificate file should be installed in the JDK\u2019s certificate store. Perform the following steps to enable LDAPS for the connection:<\/span><\/p>\n<\/a>Issue<\/span><\/h2>\n
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]<\/span><\/pre>\n
<\/a>Root Cause<\/span><\/h2>\n
\n
<\/a>Prerequisites<\/span><\/h2>\n
<\/a>Solution<\/span><\/h2>\n