What are the pre-requisites for connecting the application to import data from LDAP using SSL Connections?
asked 29 Oct '14, 15:22
The only pre-requisite is to add Certificates to Java Keystore for enabling SSL Connections. Here are the instructions to implement this -
From the terminal, Get the location of JAVA_HOME using the command ‘echo $JAVA_HOME’.
The keytool utility ( found under $JAVA_HOME/bin/ folder) should be invoked to import the new certificate to the existing keystore.
To import the new CA certificate, run the following command - ‘sudo $JAVA_HOME/bin/keytool -import -alias [alias] -file [file location of the new certificate] -keystore $JAVA_HOME/jre/lib/security/cacerts’ The default password for the keystore is 'changeit'. Type 'yes' for the question 'Trust this certificate?'.
The ‘Certificate was added to keystore’ message indicates the successful import of the new certificate. Now restart tomcat to reflect the changes. Now the connection type can be modified to use SSL on port 636.
answered 29 Oct '14, 15:26