Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm getting this error when I try to connect to HTTPS server with component tRESTClient :
javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://myUrl: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Can you help me please ?
Many thanks
Hello,
Usually the certificates used by the Talend server are trusted by Java by default. On which talend build version you got this issue and what's your Java version?
Could you please post the whole error trace here? Are you using any "SSL Forward proxy" (SSL Certificates are generated "on the fly" by ZScaler ) which ROOT certificate must be added in the java JVM cacerts as well?
Best regards
Sabrina
I found this command to execute :
keytool -import -alias -aliasName -file pathToRootCA.crt -keystore cacerts
I did it, I got the message that the certificate has been added.
But I still add same error when I execute my Talend Job.
Hello,
Usually the certificates used by the Talend server are trusted by Java by default. On which talend build version you got this issue and what's your Java version?
Could you please post the whole error trace here? Are you using any "SSL Forward proxy" (SSL Certificates are generated "on the fly" by ZScaler ) which ROOT certificate must be added in the java JVM cacerts as well?
Best regards
Sabrina
Hi Sabrina,
Hi Sabrina,
Indeed we are using a "SSL Forward proxy" and after having added ROOT certificate, it works.
Thanks
Hello
Sorry for late response and great it works.
If a "SSL Forward proxy" is in the network, the "Talend Server" certificate received by Talend Studio is NOT the one sent by the Talend Server , it is a certificate generated by the "SSL Forward proxy" and signed by the "SSL Forward proxy ROOT CA" . This certificate can be regenerated by the "SSL Forward proxy" with a different SN (Serial Number).
Best regards
Sabrina