WebDriver Client jar file not working with sun.security.validator

book

Article ID: 144579

calendar_today

Updated On:

Products

CA App Synthetic Monitor NIMSOFT CLOUD USER EXPERIENCE MONITOR DX 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.

Additional Information

What is MITM proxy?


https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/app-synthetic-monitor/SaaS/getting-started/track-website-performance-with-monitors/real-browser-monitor-cli.html

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/app-synthetic-monitor/SaaS/using/Build-WebDriver-Scripts.html