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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
rohit1804
Contributor III
Contributor III

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 am trying to access a URL using tRestClient, even though I have added added certificate to cacerts.jks file

I am getting below mention error

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 am using talend v7.3.1

I have tried using tkeyStore component

I tried adding -Djavax.net.ssl.trustStore= and -Djavax.net.ssl.trustStorePassword=.

Please let me know any other solution

Please find attached screenshoots for same.

Labels (9)
1 Reply
Anonymous
Not applicable

Have you tried following the steps regarding truststores here?

 

https://community.talend.com/s/article/Three-ways-to-set-a-truststore-for-an-SSL-TLS-connection-in-a-Job-zc7CW

 

Certificates can be a real pain as there are seldom obvious errors to point to the issues.