WebDriver Client jar file not working with sun.security.validator
book
Article ID: 144579
calendar_today
Updated On:
Products
CA App Synthetic MonitorNIMSOFT CLOUD USER EXPERIENCE MONITORDX Application Performance Management
Issue/Introduction
I have written a script using the WebDriver Client jar file, however I am seeing many of the following messages:
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Environment
ASM 10.3
Resolution
The Chrome browser makes some requests to google servers on startup even if there are no steps in the script. Your network most likely has an MITM proxy that supplies a fake SSL certificate. You can avoid the error by importing the fake CA to the Java keystore.