Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » sun.security.validator.ValidatorException: PKIX path building failed(Install New Software)
sun.security.validator.ValidatorException: PKIX path building failed [message #1760507] Thu, 27 April 2017 19:22 Go to next message
Joseph Hoggood is currently offline Joseph HoggoodFriend
Messages: 4
Registered: January 2015
Junior Member
Eclipse Java EE IDE for Web Developers.

Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500

PROBLEM: When trying to install new software on a virgin install of Eclipse IDE (via Help/Install New Software...) I get these errors in the log. I have tried using Preferences/Native or Preferences/Manual to specify our corporate proxy information. IE/Firefox sessions outside of the IDE going to http://download.eclipse.org/releases/neon work fine (proxy authentication manually or hardcoded). Any solutions?

Some sites could not be found. See the error log for more detail.
Unable to read repository at http://download.eclipse.org/eclipse/updates/4.6/compositeContent.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Unable to read repository at http://download.eclipse.org/webtools/repository/neon/compositeContent.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Unable to read repository at http://download.eclipse.org/releases/neon/compositeContent.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


Re: sun.security.validator.ValidatorException: PKIX path building failed [message #1760518 is a reply to message #1760507] Fri, 28 April 2017 03:11 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31159
Registered: July 2009
Senior Member
I've see those kinds of exceptions too, but not for http sites, only for https. Does http://download.eclipse.org/eclipse/updates/4.6/compositeContent.xml work in the embedded browser in Eclipse itself?

Did you use the installer to create this installation or did you unzip a package? (I would imagine the installer would have the same issue.) Which JDK version is being used to run Eclipse? In the past I've found that simply installing the latest JDK solved a problem just like this for certificate issues with sourceforge...
Re: sun.security.validator.ValidatorException: PKIX path building failed [message #1760602 is a reply to message #1760518] Fri, 28 April 2017 18:50 Go to previous messageGo to next message
Joseph Hoggood is currently offline Joseph HoggoodFriend
Messages: 4
Registered: January 2015
Junior Member
No Message Body
Re: sun.security.validator.ValidatorException: PKIX path building failed [message #1765694 is a reply to message #1760507] Tue, 13 June 2017 13:24 Go to previous messageGo to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 2
Registered: January 2017
Junior Member
I ran into the same issue using Neon 3. In my case the issue was caused by my eclipse.ini file -vmargs containing -Djavax.net.ssl.truststore definition. I removed this setting, restarted Eclipse and the marketplace updates started to work.

While trying to solve this issue, I found an article that suggests that it might be necessary to run Eclipse in a current JDK (1.8,0_121+).

I also found a stack overflow article that suggests it might also be necessary to install the unlimited strength encryption option for the JRE used to run Eclipse.

It would be nice if all three of these suggestions were mentioned somewhere in the Eclipse installation instructions.
Re: sun.security.validator.ValidatorException: PKIX path building failed [message #1816662 is a reply to message #1760518] Mon, 04 November 2019 11:35 Go to previous messageGo to next message
Arvind Nagar is currently offline Arvind NagarFriend
Messages: 1
Registered: November 2019
Junior Member
I am still getting the same error.
Using internal browser, able to see the web pages but not allowing to install any new plugin.
Please suggest.
Re: sun.security.validator.ValidatorException: PKIX path building failed [message #1816664 is a reply to message #1816662] Mon, 04 November 2019 12:40 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31159
Registered: July 2009
Senior Member
This is like this problem:

https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ

How old is the Java runtime you are using? Installing a new one (with up-to-date root certificates in the certificates store) and making sure that it's the one used is likely the easiest way to go...
Re: sun.security.validator.ValidatorException: PKIX path building failed [message #1821114 is a reply to message #1760507] Wed, 05 February 2020 21:08 Go to previous messageGo to next message
Binh Dang is currently offline Binh DangFriend
Messages: 2
Registered: February 2020
Junior Member
I am getting the same error but I am not able to update eclipse.ini as suggested in previous thread due to file access limitation. May I ask if you have any other suggestion to help fixing the issue?
Re: sun.security.validator.ValidatorException: PKIX path building failed [message #1821125 is a reply to message #1821114] Thu, 06 February 2020 05:30 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31159
Registered: July 2009
Senior Member
Do you have a recent version of Java installed?
Re: sun.security.validator.ValidatorException: PKIX path building failed [message #1821197 is a reply to message #1821125] Thu, 06 February 2020 23:05 Go to previous messageGo to next message
Binh Dang is currently offline Binh DangFriend
Messages: 2
Registered: February 2020
Junior Member
Yes, I have jdk1.8.0_202.
Re: sun.security.validator.ValidatorException: PKIX path building failed [message #1821203 is a reply to message #1821197] Fri, 07 February 2020 06:06 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31159
Registered: July 2009
Senior Member
Can you attach your .log from <workspace>/.metadata/.log? Delete the <workspace>/.metadata/.log, restart, and try again, so that I can see the full clean session log and can see which Java version your installation is actually using.
Previous Topic:papyrus to excel
Next Topic:How re-open a bug?
Goto Forum:
  


Current Time: Sun May 31 08:19:44 GMT 2020

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

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

Back to the top