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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
navds
Creator II
Creator II

Use tRestClient to call an SSL enabled API

Hello,

I've got an exception "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" in my tRestClient.

I'd like to have a step by step guide on SSL certificate installation to solve this error. The job run on OpenJDK RE 7u121.

 

Thanks for your time

Labels (4)
1 Solution

Accepted Solutions
Jesperrekuh
Specialist
Specialist

You need to setup a keystore (where you save your trusted certificates) and access it with tKeyStore component before you connect to your api with tRestClient.
This is too much of a hasle,

However I switched using tSystem and curl command, redirects, cookies, full flexibility ... trust me on this 0683p000009MA9p.png

View solution in original post

2 Replies
navds
Creator II
Creator II
Author

Is anybody out there ?

Jesperrekuh
Specialist
Specialist

You need to setup a keystore (where you save your trusted certificates) and access it with tKeyStore component before you connect to your api with tRestClient.
This is too much of a hasle,

However I switched using tSystem and curl command, redirects, cookies, full flexibility ... trust me on this 0683p000009MA9p.png