Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a safe way to download the java JDK? [closed]

Tags:

java

ssl

java-7

When I go to the official website to download the Java JDK and attempt to download the JDK, I get an error stating that the SSL certificate for Oracle's download site is invalid.

After some googling, the certificate appears to have never been valid (or been invalid for a very long time).

The error says "This Connection Is Untrusted" in Firefox, and the technical details say:

download.oracle.com uses an invalid security certificate. 
The certificate is only valid for the following names: *.akamaihd.net, *.akamaihd-staging.net, a248.e.akamai.net, *.akamaized.net, *.akamaized-staging.net 

In Chrome, the error says "Your connection is not private", with a similar message in the advance info.

After looking for a long time, I can find very little info on this problem via the usual search engines.

Why is the certificate invalid, and what is a good trustworthy way to get the file?

like image 216
David Avatar asked Jan 12 '15 22:01

David


People also ask

Is downloading JDK safe?

Yes, Java (and the JDK) is safe. The older Java browser plugin had security issues, but most browsers no longer support plugins like that anymore.

Will downloading Java hurt my computer?

Depends. The legitimate java plug-in is safe to install, but some websites use fake pop-up windows to trick you into downloading software that isn't actually java. You can download java from http://java.com/en/. Depends.

How do I install Java without admin rights?

Insert your USB drive into the computer where you do not have Administrator privileges and double-click the ". bat" file in your USB root directory. A Command Prompt window will open. Type "javac" (without the quotes) to see that Java works and is fully installed.


1 Answers

The oracle java download site was never designed to use SSL.

The site in this case is only using SSL because of the HTTPSEverywhere browser plugin that I have installed, which is forcing all Oracle domains to use HTTPS when contacted by my browser.

In order to make the download work, I disabled HTTPSEverywhere for the oracle domains. This effectively exposed how the site is actually designed to work (it did not default to SSL), and it allowed the download to proceed without warnings. This indicates that clicking through the warning (no need to disable HTTPSEverwhere in this case) should be okay.

I write this answer here because of the great difficulty of finding any information on this problem via google.

like image 56
David Avatar answered Nov 15 '22 19:11

David