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?
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,"
Regards,
Subject7 Team
Please sign in to leave a comment.