AEM LDAP over SSL InvalidConnectionException: SSL handshake failed
We are setting up LDAP over SSL in the AEM 6.3 environment , imported all the required certs in the Java VM cacerts. we are getting below exception
06.06.2018 11:20:22.524 *ERROR* [qtp1318568182-277189] org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapIdentityProvider Error while connecting to the ldap server.
- org.apache.directory.ldap.client.api.exception.InvalidConnectionException: SSL handshake failed.
at org.apache.directory.ldap.client.api.LdapNetworkConnection.writeRequest(LdapNetworkConnection.java:4190)
at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1314)
As per the Adobe documentation https://helpx.adobe.com/experience-manager/6-3/sites/administering/using/ldap-config.html , they said it is a known issue see below . What is Netscape comments?
Known issues
If you plan on using LDAP over SSL, make sure the certificates you are using are created without the Netscape comment option. If this option is enabled, authentication will fail with a SSL Handshake error.
Did anyone got this issue? how did you resolved it.
Thanks in Advance.
Thanks,
Chandra