admin管理员组文章数量:1312824
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:
- Downloaded the SSL certificate from BrowserStack and added it to the Java
cacerts
trust store. - Verified the certificate import using
keytool
. - Ensured that my Java version and Maven configurations are the same on both machines.
- Attempted to use the acceptInsecureCerts flag in the YAML file, but it didn't work.
- Also tried using a proxy, but that didn't help either.
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.
本文标签:
版权声明:本文标题:selenium webdriver - BrowserStack SDK: PKIX Path Building Failed Error on Office Machine but Works on Personal Machine - Stack O 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741886788a2403068.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论