[PPC arch] Cannot activate license on older Synology NAS (SSLHandshake: unable to find valid certification path)

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
0x2a
Posts: 3
Joined: 01 Feb 2015, 09:35

[PPC arch] Cannot activate license on older Synology NAS (SSLHandshake: unable to find valid certification path)

Post by 0x2a »

Hello,
long time user here. I am still on version 4.8.5, because my Synology DS 213+ does not support a newer version of Java (which is required for more recent versions of Filebot, if I remember correctly).
Filebot still works, I tried to activate my new license, but Filebot could not connect to

Code: Select all

https://license.filebot.net/verify/P49xxxxxx
Is this a temporary problem, or did the API for the licence-verification change?

Code: Select all

filebot -script fn:sysinfo
FileBot 4.8.5 (r6224)
JNA Native: java.lang.UnsatisfiedLinkError: Could not find JNA native support
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load ppc (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
p7zip: p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
unrar: UNRAR 5.21 freeware
FFprobe: 3.3.7
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0
JVM: 32-bit Java HotSpot(TM) Embedded Client VM
CPU/MEM: 2 Core / 121 MB Max Memory / 11 MB Used Memory
OS: Linux (ppc)
HW: Linux DiskStation 2.6.32.12 #25556 SMP Thu Jul 1 14:30:01 CST 2021 ppc GNU/Linux synology_qoriq_213+
DATA: /volume1/@appstore/filebot/data/root
Package: SPK
License: EXPIRED since 2023-03-15

------------------- UPDATE AVAILABLE: FileBot 5.0.2 (r9722) --------------------

Done ヾ(@⌒ー⌒@)ノ
Thanks for any help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Cannot activate license on older Synology NAS

Post by rednoah »

:?: Can you post the complete console output?

:?: Does the error message say "Error Reason: <URL>" or really just "<URL>" and nothing else?



NOTE: you will most likely get the same network error with any version of FileBot, so upgrading FileBot will most likely not make a difference.

:idea: Java 8 builds for any Linux platform (including Synology NAS) are still available for the latest version:
viewtopic.php?t=6057
:idea: Please read the FAQ and How to Request Help.
0x2a
Posts: 3
Joined: 01 Feb 2015, 09:35

Re: Cannot activate license on older Synology NAS

Post by 0x2a »

The DS213+ is not supported by your Java-installer.

Code: Select all

Tue May  9 20:40:34 CEST 2023: AUTO UPDATE
gpgv: Signature made Sat Jan 28 17:38:15 2023 CET using RSA key ID 7C3C6A71
gpgv: Good signature from "Reinhard Pointner <[email protected]>"
Architecture not supported: Linux ppc jdk
The complete output when trying to activate the license:

Code: Select all

Activate License P49654453
Fetch failed: Try again in 5 seconds (2 more) => 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
Activate License P49654453
Fetch failed: Try again in 10 seconds (1 more) => 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
Activate License P49654453
Fetch failed: https://license.filebot.net/verify/P49654453
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 net.filebot.web.WebRequest.post(WebRequest.java:198)
        at net.filebot.License.lambda$verifyLicense$4(License.java:149)
        at net.filebot.License$$Lambda$54/2016024.fetch(Unknown Source)
        at net.filebot.CachedResource.lambda$null$0(CachedResource.java:87)
        at net.filebot.CachedResource$$Lambda$57/6801022.call(Unknown Source)
        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.CachedResource$$Lambda$56/31208347.apply(Unknown Source)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.License.verifyLicense(License.java:150)
        at net.filebot.License.parseLicenseText(License.java:109)
        at net.filebot.License.importLicense(License.java:180)
        at net.filebot.Settings.configureLicense(Settings.java:163)
        at net.filebot.Main.main(Main.java:127)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        ... 17 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        ... 17 more

License Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Cannot activate license on older Synology NAS

Post by rednoah »

Unfortunately, it's an SSL network issue, so there's nothing we can do about it:

Code: Select all

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
It might be a temporary network issue that'll go away by itself. If you haven't updated your JDK 8 build (maybe because there are no newer Java 8 / PPC builds) then the SSL certificates might be outdated and never work again. You may - with great effort and likely without success - be able to manually fix that if you Google around.


:idea: DS213+ is PPC arch. There are no Java 11 / Java 17 / etc builds for PPC arch. You thus cannot use Java 11 / Java 17. FileBot does have Java 8 builds that you can run with Java 8. However, running the latest FileBot / Java 8 build will not resolve the SSL certificate issues at hand.


:arrow: In this case, all I can do is offer a refund for your most recent purchase, and recommend upgrading to more future-proof hardware. PPC arch was unfortunately an unlucky pick that turned into dead technology more quickly than other architectures. Synology has long since switched to using x86 and ARM exclusively.
:idea: Please read the FAQ and How to Request Help.
Post Reply