Skip to main content Skip to complementary content

Configuring LDAP/LDAPS for Talend Administration Center

Generate a key

Procedure

  1. Create a folder where you want to store your Keystore.
  2. Open a terminal.
  3. Using the cd command, go to the folder you created.
  4. Enter the following command:
    <JAVA_HOME>/bin/keytool -genkey -keystore <myKeystoreName> -keyalg RSA
    Replace <JAVA_HOME> with the path to the folder where Java is installed and <myKeystoreName> with the name of your Keystore.
  5. Enter the password you want to create for your Keystore twice. Then, if needed, enter other optional information, such as your name or the name of your organization.
  6. Enter yes to confirm the information you provided.
  7. Enter the password you have previously defined.

Configure LDAP/LDAPS for Talend Administration Center

To set the new Keystore location, edit the JAVA_OPTS environment variable.

Procedure

To edit the JAVA_OPTS environment variable, add the following lines to your JAVA_OPTS environment variable:
-Djavax.net.ssl.keyStore=/<myDirectory>/<myKeystore>
-Djavax.net.ssl.keyStorePassword=<myPassword>
In this example, <myDirectory> is the installation directory of your Keystore, <myKeystore> is the name of your Keystore and <myPassword> is the password you have previously defined for your Keystore.
To enable the debug logging of LDAP client, add the following line in the <ApplicationPath>/WEB-INF/classes/log4j.xml file:
<logger name="org.apache.directory.api" additivity="true"> <level value="debug" /> </logger>
Then restart Talend Administration Center and set log threshold to TRACE in the Logs group of the Configuration page.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!