Answered

certpath error appearing.

I have a REST call to a URL which works well with a curl command on my machine.   When I issue the rest call from Subject7 I get this message:

Error during execution request: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

A similar rest call to another machine from Subject7 works fine.   I reviewed a similar question I made on 4/13/2021 and reviewed the response.   In this case though, there has never been a CERT installed on the windows side installed for this URL.  Also, since the CURL works it seems like it should work in Subject7.    Any ideas?

 

0
2 comments
Avatar
William Smith

This is a REST get call and does require a password.

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi William,

If you use a certificate (any) on your server which provides REST API and you have issues with PKIX, the first thing which should be done is to make sure that root CA cert is in WINDOWS-ROOT. It looks like 'another' machine has it, and yours does not.

Subject7 local player is a Java application, and it requires that the certificate be installed in the Windows-ROOT trust store.

You can follow the instructions in this article after "To fix this issue from Windows side,"

https://subject7.zendesk.com/hc/en-us/articles/1500002094042-I-am-getting-the-error-sun-security-validator-ValidatorException-what-should-I-do

Regards,
Subject7 Team

0
Comment actions Permalink

Please sign in to leave a comment.