Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » unable to find valid certification path to requested target(unable to find valid certification path to requested target)
unable to find valid certification path to requested target [message #1819623] Sat, 18 January 2020 18:18 Go to next message
abid mohamed is currently offline abid mohamedFriend
Messages: 2
Registered: January 2020
Junior Member
Dear Team
I download new software for eclipse , but now i am not able to launch it .i have got this error :


!ENTRY org.eclipse.equinox.p2.artifact.repository 2 0 2020-01-18 20:17:37.553
!MESSAGE Failure reporting download statistics to URL: https://download.eclipse.org/stats/releases/2019-12/org.eclipse.oomph.preferences
!STACK 1
org.eclipse.core.runtime.CoreException: Unable to read repository at https://download.eclipse.org/stats/releases/2019-12/org.eclipse.oomph.preferences.
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.getLastModified(RepositoryTransport.java:257)
at org.eclipse.oomph.p2.internal.core.CachingTransport.delegateGetLastModified(CachingTransport.java:396)
at org.eclipse.oomph.p2.internal.core.CachingTransport.getLastModified(CachingTransport.java:345)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.collectStats(MirrorRequest.java:269)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:236)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:155)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:759)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)


Please i need your help
Re: unable to find valid certification path to requested target [message #1819663 is a reply to message #1819623] Mon, 20 January 2020 15:19 Go to previous messageGo to next message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 181
Registered: April 2012
Senior Member
What is the version of the JRE you are using? If you are using an older version of the JRE you are probably missing some certificates.
Either upgrade your JRE or add the appropriate certificates to your installation.

For reference:
https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ
Re: unable to find valid certification path to requested target [message #1833459 is a reply to message #1819663] Tue, 13 October 2020 18:53 Go to previous message
Gene Mishchenko is currently offline Gene MishchenkoFriend
Messages: 1
Registered: October 2020
Junior Member
The same Stack Overflow post helped me resolve my issue.

I just want to point out that unless your JRE is truly ancient, its version should not be an issue and it should have the SSL certificates for most Eclipse download sites in the default keystore.

The problem with this exception is that it's really verbose, but it does not list the exact certificate in the chain that caused the error. After you open the update/download URL used by Eclipse in a Web browser and view the lowest level certificate in the chain, you can save and import all of the certificates in the chain or just try the ones that you think are causing the problem.

In my case the root cause was that the certificate used by the corporate HTTP proxy server was inserted in the SSL cert chain and the JVM used by Eclipse did not know how to obtain that certificate automatically (Web browsers, even the Eclipse internal browser, are just better at this, so this is why you typically can't reproduce the error in them).
So I needed to save and to import JUST THAT certificate into the JRE keystore as a trusted entry.
Previous Topic:Searching for Help in replacing actionSet with Commands/Menu
Next Topic:Local Platform build not including locally built plug-ins in p2 repository
Goto Forum:
  


Current Time: Fri Jan 22 00:18:26 GMT 2021

Powered by FUDForum. Page generated in 0.02179 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top