PKIX path building failed error when Language Support for Java(TM) VSCode extension available in DevSpaces attempts to import projects with dependencies from private Nexus with private certificates

Solution In Progress - Updated -

Issue

  • The Language Support for Java(TM) VSCode extension available in DevSpaces cannot import projects with dependencies stored in private Nexus repositories that use private CA-signed certificates
  • When the extension attempts to import these Java projects, a PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target... error is thrown in the VSCode Output pane for the extension

Environment

  • Red Hat OpenShift DevSpaces 3.16
  • Language Support for Java(TM) Extension 1.37

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content