Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
thuhuyen89
Contributor
Contributor

SSL TrustStore Conflict when combining WebService and tSendEmail in one job

I am facing an issue with SSL truststores in my Talend job and would appreciate advice:

thuhuyen89_2-1750760321650.png

My main job has two parts:

thuhuyen89_0-1750759156780.png

The WS part using tSoap with its own isolated truststore configured directly in the component's SSL settings.

thuhuyen89_1-1750759275212.png

The tSendEmail at the end of the job which requires a different truststore

The problem is:

  • When I run these two parts separately by disabling another, they both run successfully.

  • But when I both activate them, I get the following error.

So, does Talend share JVM SSLContext across components even when tSOAP has its own truststore configured?

Thank you

Labels (1)
  • SOAP

1 Reply
gouravdubey5
Partner - Creator
Partner - Creator

Hello,

Yes, this behavior is expected.

Talend components run within the same JVM, and SSL configuration (truststore / keystore) is handled at the JVM level, not per component. Even though tSOAP allows configuring a truststore in the component settings, internally it still relies on the JVM SSLContext.

When multiple components (such as tSOAP and tSendEmail) require different truststores, the last initialized SSL configuration can override the previous one, which leads to SSL conflicts when both parts of the job are executed together.

Key points:

Talend does not support multiple truststores simultaneously within a single JVM.

Component-level SSL settings do not fully isolate SSL contexts.

This is why each part works independently, but fails when executed together.

Supported workarounds:

Use a single consolidated truststore containing all required certificates.

Split the logic into separate jobs and execute them sequentially.

Launch separate JVMs (for example, via tRunJob with “Use an independent process” enabled).

Externalize one of the operations (e.g. email or SOAP call) to a separate service or job.

Best practice:
Always standardize SSL configuration at the JVM level for a job and avoid mixing multiple truststores within the same execution.

Thanks,

Gourav

Talend Solution Architect | Data Integration