Suddenly maven task stopped working with PKIX path building failed error in Openshift Pipelines
Issue
-
Maven builds in Tekton pipelines have started failing with the following error:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -
Observing
unable to find valid certification path to requested targeterror while maven task attempts to fetch dependencies from our internal Nexus repository.
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4
- Red Hat OpenShift Pipelines
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.