0

In eclipse: Version: Photon Release (4.8.0)

I am trying to install: https://marketplace.eclipse.org/content/csv-edit-resurrector

using this URL/Update site: https://nodeclipse.github.io/updates/csvedit/

But I get the following error:

Unable to read repository at https://nodeclipse.github.io/updates/csvedit/content.xml.
Unable to read repository at https://nodeclipse.github.io/updates/csvedit/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Any suggestion how to fix? Or simply configure in eclipse to "allow all" (ignore certificates)?

enter image description here

I have also tried using: https://nodeclipse.github.io/updates/

gives similar error:

Unable to read repository at https://nodeclipse.github.io/updates/content.xml.
Unable to read repository at https://nodeclipse.github.io/updates/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

And I also tried (non https):

http://nodeclipse.github.io/updates/csvedit/

gives similar error:

Unable to read repository at http://nodeclipse.github.io/updates/csvedit/content.xml.
Unable to read repository at http://nodeclipse.github.io/updates/csvedit/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

In my eclipse.ini I have:

...
-vm
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.inst
...
u123
  • 15,603
  • 58
  • 186
  • 303
  • Use the update site [`https://nodeclipse.github.io/updates/`](https://nodeclipse.github.io/updates/). – howlger Jan 09 '19 at 16:07
  • gives the same error – u123 Jan 10 '19 at 07:43
  • I see. The root cause seems to be the `sun.security.provider.certpath.SunCertPathBuilderException`. Which JRE do you use to run Eclipse? As a workaround in this particular case you can use a non-HTTPS update site: [`http://nodeclipse.github.io/updates/csvedit/`](http://nodeclipse.github.io/updates/csvedit/) (`http://...` instead of `https://...`). – howlger Jan 10 '19 at 07:57
  • I also tried that and it fails with similar error, see updated post that also has details in jre – u123 Jan 10 '19 at 08:07
  • [As far as I know](https://eclipsehowl.wordpress.com/2018/03/09/hello-openj9-on-windows-i-didnt-expect-you-so-soon/), in OpenJDK <=9 the certificate authority (CA) certificates are missing. Unfortunately, `http://nodeclipse.github.io` seems to redirect to HTTPS so that the workaround does not work. Could you try a different Java VM to run Eclipse? – howlger Jan 10 '19 at 08:19
  • See also: https://github.com/AdoptOpenJDK/openjdk-build/issues/676 – howlger Jan 10 '19 at 08:28
  • Hm last comment in that post mentions that it should be fixed in 8u192. I just tried with that update and same error. I will find another plugin for this. – u123 Jan 10 '19 at 12:24
  • It should be fixed in the 8u192 OpenJ9 OpenJDK, but maybe not in the HotSpot OpenJDK which is more common. – howlger Jan 10 '19 at 12:48
  • you need to install your network root certificate to your jre cacerts file. make sure it is root SSL certificate and refer [this](https://stackoverflow.com/a/39075967/1802348) post as a reference if needed. – positivecrux Feb 07 '19 at 14:53

0 Answers0