I have downloaded the sample project provided by BrowserStack that integrates with the BrowserStack SDK. The setup is complete, and I am executing tests using the command:
mvn clean test
The execution works perfectly on my personal machine. However, on my office machine, while the tests still run smoothly, I encounter the following error:
[TEST HUB] EXCEPTION IN BUILD START EVENT : com.browserstack.testOps.RequestException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I have already tried the following steps but no success:
cacerts
trust store.keytool
.Has anyone faced a similar issue? Are there any additional configurations or network restrictions that might cause this problem in a corporate environment? Any help would be appreciated.