Re: Problem installing Java Installer on Synology NAS
Posted: 20 Dec 2025, 11:08
rednoah wrote: ↑14 Dec 2025, 18:10 You could try to modify /var/packages/java-installer/target/get-java.sh and replace:with:Shell: Select all
curl -fsSL -o "$JDK_TAR_GZ" --retry 5 "$JDK_URL"Then restart the NAS to trigger the auto-update on start.Shell: Select all
curl --insecure -fsSL -o "$JDK_TAR_GZ" --retry 5 "$JDK_URL"
Linus wrote: ↑20 Dec 2025, 10:45 That's the curl output:Console Output: Select all
~# curl -v -I 'https://download.bell-sw.com/java/21.0.9+11/bellsoft-jdk21.0.9+11-linux-arm32-vfp-hflt.tar.gz' * TLSv1.3 (OUT), TLS handshake, Client hello (1): * TLSv1.3 (IN), TLS handshake, Server hello (2): * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): * TLSv1.3 (IN), TLS handshake, Certificate (11): * TLSv1.3 (OUT), TLS alert, unknown CA (560): * SSL certificate problem: unable to get local issuer certificate curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.