OpenShift pipelines failing in maven cluster task while pulling dependencies from external repository

Solution Verified - Updated -

Issue

  • pipelinerun is failing at maven clustertask.
  • While running maven clustertask dependencies could not be downloaded from external repository due to certificate issues.
  • pipelinerun is failing with following error.
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 

Environment

  • OpenShift Container Platform 4.5
  • OpenShift Pipelines

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In