Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Sep 26, 2024 10:02:11 PM
Sep 26, 2024 10:08:03 PM
When using Talend Studio, you may encounter the following error while attempting to open a remote project or apply a patch update:
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This error typically arises due to a missing or untrusted certificate in the Java keystore required to establish a secure connection. This article provides step-by-step instructions to resolve this issue in two common scenarios:
Verify Java Version:
Download and Install the Required CA Certificate:
Import the CA Certificate into Java Keystore:
Locate the cacerts file (typically at <JAVA_HOME>/jre/lib/security/cacerts).
Open a command prompt or terminal and navigate to the directory containing your cacerts file.
Use the keytool command to import the certificate:
keytool -import -alias <alias_name> -file <path_to_certificate_file> -keystore <path_to_your_jdk>/jre/lib/security/cacerts
Replace:
When prompted, enter the keystore password (default is changeit).
Verify the Import:
List the certificates in the cacerts file using:
keytool -list -v -keystore <path_to_your_jdk>/jre/lib/security/cacerts
Ensure the imported certificate appears in the list.
Verify Java Version:
Download Required CA Certificate:
Import the Certificate into Java Keystore:
Configure Talend Studio to Use the Updated Keystore:
Add the following JVM argument to your Talend Studio talend.ini file:
-Djavax.net.ssl.trustStore=<path_to_your_jdk>/jre/lib/security/cacerts
Replace <path_to_your_jdk> with the path to your JDK installation.
If you are operating behind a corporate proxy, you may need to import the proxy server's SSL certificate into your Java keystore. Similarly, any specific corporate firewall rules that could be blocking connections to Talend Cloud should be reviewed and configured to allow necessary traffic.