Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello.
I am using a custom component in which I configure an SSL connection.
System.setProperty ("javax.net.ssl.trustStore", <% = keystorePath%>);
System.setProperty ("javax.net.ssl.trustStoreType", "JKS");
System.setProperty ("javax.net.ssl.trustStorePassword", <% = keystorePwd%>);
My component works well except that further in my job, I use a tAzureStoragePut, which crashes him because of this SSL (no problem if no SSL in the custom component ...)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I tested to remove the SSL configuration in my component once the connection is complete :
System.clearProperty ("javax.net.ssl.trustStore");
System.clearProperty ("javax.net.ssl.trustStoreType");
System.clearProperty ("javax.net.ssl.trustStorePassword");
But that does not change anything.
Thanks you for your answers.
Hello,
What's custom component are you using? Did you have certificattion, certificate Authority and private key files? In talend studio, here is a tSetKeyStore component which is used to load SSL configuration and point the ''TrustStore File" to your generated trust store.
Best regards
Sabrina