Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: gmullinWhat is your JAVA_HOME variable? 6.1.3 will come with Java, whereas 4.x did not. I wonder is it referencing an different Java home directory. For 6.1.3 your JAVA_HOME should be <LAE_Install_Dir>/jre. The cacerts file LAE uses should be located in <JAVA_HOME>/jre/lib/security. I found an old issue where somebody encountered the same error on 4.x. Note that this is with Java as not part of the LAE installation.
JDBC Encryption Error "unable to find valid certification path to requested target"
The issue occurs when a SUN JRE and SUN JDK package are both installed. When you use the keytools command, it may add the keys into the Sun JRE CACERTS Key Store (not the JDK package in use by LAE). If you specially override the command with the JDK, it will add the key correctly.
For those whom need to achieve this. Here are the steps:
1. Use a tool like Portecle application from the internet. Its free
2. Open the tool and click on the Examine Menu, followed by Examine SSL/TLS Connection
3. Fill in the hostname and port number to get the certificates in question
4. For each Cert that comes back, if you click the "PEM Encoding" button, and click Save, you can save the Public Cert to your local disk
5. Add the key into your cacerts key store with the command: /usr/java/jdk1.7.0_07/bin/keytool -importcert -file /tmp/cert2.pem -keystore cacerts -alias acdb2t01
* Note your JDK Path may differ
For more helpful information on setting up the client end of secured JDBC connection, see the following:
http://archive.midrange.com/java400-.../msg00048.html