sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Support for Windows users
Post Reply
nohamtab
Posts: 2
Joined: 23 Dec 2019, 18:22

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Post by nohamtab »

Hello, I have been using FileBot for years, but recently in the past week or so I started getting this error anytime I try and search for something from TheMovieDB (both via TV and movies). Does anyone know what could cause this or how to fix it?

I am using the Windows Store version of the application if that matters.

Code: Select all

Dec 23, 2019 12:07:56 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1 done
WARNING: SunCertPathBuilderException: unable to find valid certification path to requested target
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.done(RenamePanel.java:940)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at net.filebot.ui.rename.MovieMatcher.match(MovieMatcher.java:172)
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:922)
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:918)
Caused by: java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at net.filebot.WebServices$TMDbClientWithLocalSearch.searchMovie(WebServices.java:185)
	at net.filebot.web.TMDbClient.searchMovie(TMDbClient.java:90)
	at net.filebot.media.MediaDetection.queryMovieByFileName(MediaDetection.java:951)
	at net.filebot.media.MediaDetection.detectMovie(MediaDetection.java:651)
	at net.filebot.media.MediaDetection.detectMovieWithYear(MediaDetection.java:685)
	at net.filebot.ui.rename.MovieMatcher.lambda$match$1(MovieMatcher.java:160)
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at java.base/jdk.internal.reflect.GeneratedConstructorAccessor37.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at net.filebot.web.WebRequest.fetch(WebRequest.java:142)
	at net.filebot.CachedResource.lambda$fetchIfNoneMatch$13(CachedResource.java:247)
	at net.filebot.CachedResource.lambda$withPermit$16(CachedResource.java:276)
	at net.filebot.CachedResource.lambda$get$0(CachedResource.java:87)
	at net.filebot.CachedResource.retry(CachedResource.java:121)
	at net.filebot.CachedResource.retry(CachedResource.java:133)
	at net.filebot.CachedResource.retry(CachedResource.java:133)
	at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.CachedResource.get(CachedResource.java:82)
	at net.filebot.web.TMDbClient.request(TMDbClient.java:391)
	at net.filebot.web.TMDbClient.searchMovie(TMDbClient.java:109)
	at net.filebot.WebServices$TMDbClientWithLocalSearch.access$001(WebServices.java:132)
	at net.filebot.WebServices$TMDbClientWithLocalSearch.lambda$searchMovie$5(WebServices.java:169)
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at net.filebot.web.WebRequest.fetch(WebRequest.java:139)
	... 13 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	... 14 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	... 14 more
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested tar

Post by rednoah »

If it's not a network issue on your side, then it's a network issue on the server side. Either way, probably not much you can do about it, other then restart all your network equipment, or maybe wait for 2-3 days and then try again.
:idea: Please read the FAQ and How to Request Help.
nohamtab
Posts: 2
Joined: 23 Dec 2019, 18:22

Re: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested tar

Post by nohamtab »

I will triple check my end, and worst case wait a few days and see if it comes back up. Thank you for the response!
3MultiMedia
Posts: 1
Joined: 14 Mar 2020, 14:18

Re: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested tar

Post by 3MultiMedia »

Having the same issue here for a week now. Been using FB for 5+ years with no issues. Help?

Any ideas?
Post Reply