SSL conflict between 2 components

Highlighted
Five Stars

SSL conflict between 2 components

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.

Tags (2)
Highlighted
Moderator

Re: SSL conflict between 2 components

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

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog