My Oracle Support Banner

Workbench secure LDAP authentication fails with "Unable to read from KeyStore" error and "java.io.IOException: Invalid keystore format" exception (Doc ID 1456620.1)

Last updated on MARCH 02, 2017

Applies to:

Oracle Endeca Guided Search / Endeca Experience Manager - Version 6.0.0 and later
Information in this document applies to any platform.

Symptoms

Workbench secure LDAP authentication fails. The webstudio.log file in the Workbench logs directory ($ENDECA_TOOLS_CONF/logs on UNIX, %ENDECA_TOOLS_CONF%\logs on Windows) shows these error and exception messages from the time of the authentication attempt:

com.endeca.etools.ldap.ConnectionException: LDAPLoginModule: Unable to connect to any of the listed LDAP servers.
Failed to connect to server: Unable to read from KeyStore (/usr/local/endeca/Workbench/workspace/conf/workbench.jks) in secure LDAP configuration.
...
Unable to read from KeyStore (/usr/local/endeca/Workbench/workspace/conf/workbench.jks) in secure LDAP configuration.
...
Caused by: java.io.IOException: Invalid keystore format
...

Changes

This error occurs after configuring Workbench to use secure LDAP authentication via the com.endeca.webstudio.useLdap=true setting in the webstudio.properties file (located in $ENDECA_TOOLS_CONF/conf on UNIX, %ENDECA_TOOLS_CONF%\conf on Windows) and the useSSL and keyStoreLocation parameters in the Login.conf file located in the same directory.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.